Fixed password changed email template

This commit is contained in:
champsupertramp
2016-01-18 20:04:18 +08:00
parent 5e3aa8d713
commit 2827291f95
4 changed files with 36 additions and 7 deletions
+3 -1
View File
@@ -610,7 +610,8 @@ function um_profile_id() {
***/
function um_requesting_password_change() {
global $post, $ultimatemember;
if ( um_is_core_page('password-reset') && isset( $_POST['_um_password_change'] ) == 1 )
if ( um_is_core_page('account') && isset( $_POST['_um_account'] ) == 1 )
return true;
return false;
}
@@ -1353,3 +1354,4 @@ function um_user( $data, $attrs = null ) {
}
}