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

See #27882.



git-svn-id: https://develop.svn.wordpress.org/trunk@28299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-06 16:47:56 +00:00
parent ee13be0315
commit e518d0d652

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;