mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 22:54:03 +09:00
- fixed vulnerabilities;
- small changes and fixes;
This commit is contained in:
@@ -24,6 +24,11 @@ require_once( $wp_load );
|
||||
$ret['error'] = null;
|
||||
$ret = array();
|
||||
|
||||
if ( ! is_user_logged_in() ) {
|
||||
$ret['error'] = 'Invalid user';
|
||||
die( json_encode( $ret ) );
|
||||
}
|
||||
|
||||
$nonce = $_POST['_wpnonce'];
|
||||
$id = $_POST['key'];
|
||||
$timestamp = $_POST['timestamp'];
|
||||
|
||||
Reference in New Issue
Block a user