Ticket #42693: 42693.diff
File 42693.diff, 867 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/functions.php
5762 5762 */ 5763 5763 $send = apply_filters( 'send_site_admin_email_change_email', true, $old_email, $new_email ); 5764 5764 5765 if ( ! $send ) {5765 if ( ! $send || 'you@example.com' === $old_email ) { 5766 5766 return; 5767 5767 } 5768 5768 -
src/wp-includes/ms-functions.php
2674 2674 */ 2675 2675 $send = apply_filters( 'send_network_admin_email_change_email', true, $old_email, $new_email, $network_id ); 2676 2676 2677 if ( ! $send ) {2677 if ( ! $send || 'you@example.com' === $old_email ) { 2678 2678 return; 2679 2679 } 2680 2680