Fix change password

This commit is contained in:
jonfalcon
2016-02-10 14:31:27 -08:00
parent 7c8658f753
commit 5154237aab
+3 -1
View File
@@ -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;
}