Fix inconsistent header underlining and spacing in background update emails.

fixes #28306.

git-svn-id: https://develop.svn.wordpress.org/trunk@28537 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-05-22 09:40:36 +00:00
parent 3bd4762f9b
commit 15588188e8

View File

@ -2532,7 +2532,7 @@ class WP_Automatic_Updater {
$site_title = wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES );
if ( $failures ) {
$body[] = __( "
$body[] = trim( __( "
BETA TESTING?
=============
@ -2542,16 +2542,17 @@ If you think these failures might be due to a bug in WordPress, could you report
* Open a thread in the support forums: https://wordpress.org/support/forum/alphabeta
* Or, if you're comfortable writing a bug report: http://core.trac.wordpress.org/
Thanks! -- The WordPress Team" );
Thanks! -- The WordPress Team" ) );
$body[] = '';
$subject = sprintf( __( '[%s] There were failures during background updates' ), $site_title );
} else {
$subject = sprintf( __( '[%s] Background updates have finished' ), $site_title );
}
$title = __( 'UPDATE LOG' );
$body[] = $title;
$body[] = str_repeat( '=', strlen( $title ) );
$body[] = trim( __( '
UPDATE LOG
==========' ) );
$body[] = '';
foreach ( array( 'core', 'plugin', 'theme', 'translation' ) as $type ) {