From 21258c9bc7202db58567e168bee92fe2f97129c2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 11 Feb 2018 12:22:21 +0000 Subject: [PATCH] Users: After [41163], add a notice for Email field on Profile screen that the new address will not become active until confirmed. Props dilipbheda. Fixes #43106. See #16470. git-svn-id: https://develop.svn.wordpress.org/trunk@42688 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/user-edit.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index 7e443c42c3..955a82a998 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -485,8 +485,16 @@ if ( is_multisite() && is_network_admin() && ! IS_PROFILE_PAGE && current_user_c -
+ ID == $current_user->ID ) : + ?> +

+ The new address will not become active until confirmed.' ); ?> +

+ ID, '_new_email', true ); if ( $new_email && $new_email['newemail'] != $current_user->user_email && $profileuser->ID == $current_user->ID ) : ?>