Changeset 42571 for branches/4.9/src/wp-includes/functions.php
- Timestamp:
- 01/23/2018 01:46:32 PM (8 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/functions.php
r42452 r42571 5739 5739 */ 5740 5740 function wp_site_admin_email_change_notification( $old_email, $new_email, $option_name ) { 5741 $send = true; 5742 5743 // Don't send the notification to the default 'admin_email' value. 5744 if ( 'you@example.com' === $old_email ) { 5745 $send = false; 5746 } 5747 5741 5748 /** 5742 5749 * Filters whether to send the site admin email change notification email. … … 5748 5755 * @param string $new_email The new site admin email address. 5749 5756 */ 5750 $send = apply_filters( 'send_site_admin_email_change_email', true, $old_email, $new_email );5757 $send = apply_filters( 'send_site_admin_email_change_email', $send, $old_email, $new_email ); 5751 5758 5752 5759 if ( ! $send ) {
Note: See TracChangeset
for help on using the changeset viewer.