Fix inconsistent header underlining and spacing in background update emails.

fixes #28306.
Built from https://develop.svn.wordpress.org/trunk@28537


git-svn-id: http://core.svn.wordpress.org/trunk@28363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-05-22 09:41:15 +00:00
parent 7de1eac464
commit 219321eedc
1 changed files with 6 additions and 5 deletions

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 ) {