From aee18a2e09fb1fc5afc6e223105eeee5255e2a10 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 28 Jul 2019 17:41:23 +0000 Subject: [PATCH] Users: Use case-insensitive email address comparison when checking whether "Grant this user super admin privileges" checkbox should be displayed on Edit User screen. Props trepmal. Fixes #47119. git-svn-id: https://develop.svn.wordpress.org/trunk@45698 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/user-edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index 2da783da95..d1fa16a095 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -417,7 +417,7 @@ endif; //!IS_PROFILE_PAGE ?> - user_email != get_site_option( 'admin_email' ) || ! is_super_admin( $profileuser->ID ) ) : ?> + user_email, get_site_option( 'admin_email' ) ) || ! is_super_admin( $profileuser->ID ) ) : ?>