Fix logic inversion in [13568]. props dd32. see #12381
git-svn-id: http://svn.automattic.com/wordpress/trunk@13570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2db57edcad
commit
25965cf001
|
@ -62,7 +62,7 @@ function use_ssl_preference($user) {
|
|||
|
||||
|
||||
// Only allow super admins on multisite to edit every user.
|
||||
if ( is_multisite() && ! is_super_admin() && $user_id != $current_user->ID && apply_filters( 'enable_edit_any_user_configuration', true ) )
|
||||
if ( is_multisite() && ! is_super_admin() && $user_id != $current_user->ID && ! apply_filters( 'enable_edit_any_user_configuration', true ) )
|
||||
wp_die( __( 'You do not have permission to edit this user.' ) );
|
||||
|
||||
// Execute confirmed email change. See send_confirmation_on_profile_email().
|
||||
|
|
Loading…
Reference in New Issue