- optimized account page;

- optimized code of shortcodes/password/account classes;
- fixed some enqueue scripts issues;
This commit is contained in:
nikitozzzzzzz
2017-08-11 14:21:42 +03:00
parent 92ab044b8a
commit af191ee149
11 changed files with 695 additions and 803 deletions
+1 -1
View File
@@ -875,7 +875,7 @@
*** @boolean for account page editing
***/
function um_submitting_account_page() {
if ( um_is_core_page('account') && isset($_POST['_um_account']) == 1 && is_user_logged_in() )
if ( isset( $_POST['_um_account'] ) && $_POST['_um_account'] == 1 && is_user_logged_in() )
return true;
return false;
}