In update_option_new_admin_email(), $email is set and never used.

See #27882.


Built from https://develop.svn.wordpress.org/trunk@28299


git-svn-id: http://core.svn.wordpress.org/trunk@28127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-05-06 16:48:14 +00:00
parent 6066f85853
commit 85bdc64173

View File

@ -211,7 +211,6 @@ function wpmu_delete_user( $id ) {
}
function update_option_new_admin_email( $old_value, $value ) {
$email = get_option( 'admin_email' );
if ( $value == get_option( 'admin_email' ) || !is_email( $value ) )
return;