From 98642b48214ab447cdc27b4980762b1ed5fe1679 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 28 Jul 2019 17:42:55 +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. Built from https://develop.svn.wordpress.org/trunk@45698 git-svn-id: http://core.svn.wordpress.org/trunk@45509 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/user-edit.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 2da783da95..d1fa16a095 100644 --- a/wp-admin/user-edit.php +++ b/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 ) ) : ?>

diff --git a/wp-includes/version.php b/wp-includes/version.php index 6e5bae7472..3d09776eb0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45697'; +$wp_version = '5.3-alpha-45698'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.