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:
parent
ee13be0315
commit
e518d0d652
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user