mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-02 09:07:59 +02: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 ) {
|
function update_option_new_admin_email( $old_value, $value ) {
|
||||||
$email = get_option( 'admin_email' );
|
|
||||||
if ( $value == get_option( 'admin_email' ) || !is_email( $value ) )
|
if ( $value == get_option( 'admin_email' ) || !is_email( $value ) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user