diff --git a/core/um-short-functions.php b/core/um-short-functions.php index 283123be..56d375aa 100644 --- a/core/um-short-functions.php +++ b/core/um-short-functions.php @@ -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; }