mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 11:46:27 +09:00
@@ -618,9 +618,11 @@ function um_profile_id() {
|
||||
***/
|
||||
function um_requesting_password_change() {
|
||||
global $post, $ultimatemember;
|
||||
|
||||
|
||||
if ( um_is_core_page('account') && isset( $_POST['_um_account'] ) == 1 )
|
||||
return true;
|
||||
elseif ( isset( $_POST['_um_password_change'] ) && $_POST['_um_password_change'] == 1)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user