From 6a7883ffcf7f3d028260a67b1a917f93c8889c15 Mon Sep 17 00:00:00 2001 From: Rachel Baker Date: Thu, 1 Dec 2016 03:02:48 +0000 Subject: [PATCH] REST API: Correct the `admin_email` setting description for single site installs. Display different descriptions for multisite or single site installations. Props johnbillion, ocean90. Fixes #38990. git-svn-id: https://develop.svn.wordpress.org/trunk@39406 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/option.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/option.php b/src/wp-includes/option.php index 05c6cc7421..aa98477417 100644 --- a/src/wp-includes/option.php +++ b/src/wp-includes/option.php @@ -1756,7 +1756,7 @@ function register_initial_settings() { ), ), 'type' => 'string', - 'description' => __( 'This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. The new address will not become active until confirmed.' ), + 'description' => is_multisite() ? __( 'This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. The new address will not become active until confirmed.' ) : __( 'This address is used for admin purposes, like new user notification.' ), ) ); register_setting( 'general', 'timezone_string', array(