Ticket #47352: 47352.jhoffmann.diff
File 47352.jhoffmann.diff, 684 bytes (added by , 4 years ago) |
---|
-
wp-admin/options.php
58 58 $redirect = 'options-general.php?updated=false'; 59 59 if ( is_array( $new_admin_details ) && hash_equals( $new_admin_details['hash'], $_GET['adminhash'] ) && ! empty( $new_admin_details['newemail'] ) ) { 60 60 update_option( 'admin_email', $new_admin_details['newemail'] ); 61 delete_option( WP_Recovery_Mode_Email_Service::RATE_LIMIT_OPTION ); 61 62 delete_option( 'adminhash' ); 62 63 delete_option( 'new_admin_email' ); 63 64 $redirect = 'options-general.php?updated=true';