Update scripts:

jQuery.fn.change() event shorthand is deprecated
jQuery.fn.click() event shorthand is deprecated
jQuery.fn.focus() event shorthand is deprecated
jQuery.fn.keypress() event shorthand is deprecated
jQuery.fn.removeAttr no longer sets boolean properties: disabled
jQuery.fn.submit() event shorthand is deprecated
jQuery.isArray is deprecated; use Array.isArray
This commit is contained in:
yuriinalivaiko
2021-03-03 15:49:21 +02:00
parent 7f7dae9979
commit 16bf0ebd68
14 changed files with 44 additions and 44 deletions
+1 -1
View File
@@ -1721,7 +1721,7 @@ if ( ! class_exists( 'um\core\User' ) ) {
// Setting "Avoid indexing profile by search engines" in [wp-admin > Ultimate Member > User Roles > Edit Role]
$profile_noindex = true;
} elseif ( $permissions['profile_noindex'] === '' && UM()->options()->get( 'profile_noindex' ) === '1' ) {
} elseif ( ( ! isset( $permissions['profile_noindex'] ) || $permissions['profile_noindex'] === '' ) && UM()->options()->get( 'profile_noindex' ) === '1' ) {
// Setting "Avoid indexing profile by search engines" in [wp-admin > Ultimate Member > Settings > General > Users]
$profile_noindex = true;