From 5154237aab4e06e8c93ed36272f1f9c6769828bd Mon Sep 17 00:00:00 2001 From: jonfalcon Date: Wed, 10 Feb 2016 14:31:27 -0800 Subject: [PATCH] Fix change password --- core/um-short-functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }