REST API: Correct the admin_email setting description for single site installs.
Display different descriptions for multisite or single site installations. Props johnbillion, ocean90. Merges [39406] to the 4.7 branch. Fixes #38990 for 4.7 git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39407 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
691be0fbf7
commit
25830c6798
|
@ -1756,7 +1756,7 @@ function register_initial_settings() {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'type' => 'string',
|
'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(
|
register_setting( 'general', 'timezone_string', array(
|
||||||
|
|
Loading…
Reference in New Issue