mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-18 14:13:46 +09:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user