diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 32e530a4d24b3..6b66aedf9670b 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -8123,7 +8123,7 @@ function wp_site_admin_email_change_notification( $old_email, $new_email, $optio $send = true; // Don't send the notification to the default 'admin_email' value or an empty value. - if ( 'you@example.com' === $old_email || empty( $old_email ) ) { + if ( empty( $old_email ) || 'you@example.com' === $old_email ) { $send = false; } diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index 7b87c1fb7cf74..c71e7cd50d704 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/wp-includes/ms-functions.php @@ -2870,7 +2870,7 @@ function wp_network_admin_email_change_notification( $option_name, $new_email, $ $send = true; // Don't send the notification to the default 'admin_email' value or an empty value. - if ( 'you@example.com' === $old_email || empty( $old_email ) ) { + if ( empty( $old_email ) || 'you@example.com' === $old_email ) { $send = false; }