Changeset 42570 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 01/23/2018 01:44:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r42343 r42570 2843 2843 */ 2844 2844 function wp_network_admin_email_change_notification( $option_name, $new_email, $old_email, $network_id ) { 2845 $send = true; 2846 2847 // Don't send the notification to the default 'admin_email' value. 2848 if ( 'you@example.com' === $old_email ) { 2849 $send = false; 2850 } 2851 2845 2852 /** 2846 2853 * Filters whether to send the network admin email change notification email. … … 2853 2860 * @param int $network_id ID of the network. 2854 2861 */ 2855 $send = apply_filters( 'send_network_admin_email_change_email', true, $old_email, $new_email, $network_id );2862 $send = apply_filters( 'send_network_admin_email_change_email', $send, $old_email, $new_email, $network_id ); 2856 2863 2857 2864 if ( ! $send ) {
Note: See TracChangeset
for help on using the changeset viewer.