This commit is contained in:
Hoang Huu
2020-01-13 10:13:32 +07:00
parent bd4f899268
commit 9272ebfe32
2 changed files with 11 additions and 15 deletions

View File

@@ -297,11 +297,10 @@ class OpalEstate_User {
global $current_user;
// Verify Nonce
$user_id = get_current_user_id();
$check = $this->is_blocked();
$key = 'nonce_CMB2phpopalestate_user_front';
if ( ! isset( $_POST[ $key ] ) || empty( $_POST[ $key ] ) || ! is_user_logged_in() || $check ) {
if ( ! isset( $_POST[ $key ] ) || empty( $_POST[ $key ] ) || ! is_user_logged_in() ) {
return;
}