diff --git a/src/wp-includes/option.php b/src/wp-includes/option.php index 2ac98bc135..ac17c2f501 100644 --- a/src/wp-includes/option.php +++ b/src/wp-includes/option.php @@ -1750,16 +1750,18 @@ function register_initial_settings() { ) ); } - register_setting( 'general', 'admin_email', array( - 'show_in_rest' => array( - 'name' => 'email', - 'schema' => array( - 'format' => 'email', + if ( ! is_multisite() ) { + register_setting( 'general', 'admin_email', array( + 'show_in_rest' => array( + 'name' => 'email', + 'schema' => array( + 'format' => 'email', + ), ), - ), - 'type' => 'string', - '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.' ), - ) ); + 'type' => 'string', + 'description' => __( 'This address is used for admin purposes, like new user notification.' ), + ) ); + } register_setting( 'general', 'timezone_string', array( 'show_in_rest' => array(