Ticket #59250: patch.2.diff
File patch.2.diff, 891 bytes (added by , 16 months ago) |
---|
-
wp-admin/includes/misc.php
1531 1531 $site_title = parse_url( home_url(), PHP_URL_HOST ); 1532 1532 } 1533 1533 1534 wp_mail( 1535 $value, 1536 sprintf( 1537 /* translators: New admin email address notification email subject. %s: Site title. */ 1538 __( '[%s] New Admin Email Address' ), 1539 $site_title 1540 ), 1541 $content 1542 ); 1534 $subject = sprintf( 1535 /* translators: New admin email address notification email subject. %s: Site title. */ 1536 __( '[%s] New Admin Email Address' ), 1537 $site_title 1538 ); 1539 $subject = apply_filters( 'new_admin_email_subject', $subject ); 1543 1540 1541 wp_mail( 1542 $value, 1543 $subject, 1544 $content 1545 ); 1546 1544 1547 if ( $switched_locale ) { 1545 1548 restore_previous_locale(); 1546 1549 }