mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 22:15:28 +00:00
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:
parent
6066f85853
commit
85bdc64173
@ -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…
x
Reference in New Issue
Block a user