Use wp_specialchars_decode() in the upgrade debugging email subject, same as the production email.
props markoheijnen. fixes #26471. git-svn-id: https://develop.svn.wordpress.org/trunk@26762 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
77537cae6a
commit
9f6f615dd6
@ -2376,6 +2376,7 @@ class WP_Automatic_Updater {
|
||||
$body[] = '';
|
||||
}
|
||||
|
||||
$site_title = wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES );
|
||||
if ( $failures ) {
|
||||
$body[] = __( "
|
||||
BETA TESTING?
|
||||
@ -2389,9 +2390,9 @@ If you think these failures might be due to a bug in WordPress, could you report
|
||||
|
||||
Thanks! -- The WordPress Team" );
|
||||
|
||||
$subject = sprintf( __( '[%s] There were failures during background updates' ), get_bloginfo( 'name' ) );
|
||||
$subject = sprintf( __( '[%s] There were failures during background updates' ), $site_title );
|
||||
} else {
|
||||
$subject = sprintf( __( '[%s] Background updates have finished' ), get_bloginfo( 'name' ) );
|
||||
$subject = sprintf( __( '[%s] Background updates have finished' ), $site_title );
|
||||
}
|
||||
|
||||
$body[] = __( 'UPDATE LOG' );
|
||||
|
Loading…
Reference in New Issue
Block a user