mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 14:13:46 +09:00
- added nonce fields;
This commit is contained in:
@@ -8,6 +8,8 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
||||
* @return boolean
|
||||
*/
|
||||
function ultimatemember_check_username_exists() {
|
||||
UM()->check_ajax_nonce();
|
||||
|
||||
$username = isset($_REQUEST['username']) ? $_REQUEST['username'] : '';
|
||||
$exists = username_exists( $username );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user