mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- remove wrong code
This commit is contained in:
@@ -2077,8 +2077,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
global $_um_profile_id;
|
||||
|
||||
if ( isset( $data['is_block'] ) && 1 === (int) $data['is_block'] ) {
|
||||
$_um_profile_id = get_current_user_id();
|
||||
$form_suffix = '';
|
||||
$form_suffix = '';
|
||||
} else {
|
||||
$form_suffix = UM()->form()->form_suffix;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user