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:
parent
3bd4762f9b
commit
15588188e8
@ -2532,7 +2532,7 @@ class WP_Automatic_Updater {
|
|||||||
|
|
||||||
$site_title = wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES );
|
$site_title = wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES );
|
||||||
if ( $failures ) {
|
if ( $failures ) {
|
||||||
$body[] = __( "
|
$body[] = trim( __( "
|
||||||
BETA TESTING?
|
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
|
* 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/
|
* 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 );
|
$subject = sprintf( __( '[%s] There were failures during background updates' ), $site_title );
|
||||||
} else {
|
} else {
|
||||||
$subject = sprintf( __( '[%s] Background updates have finished' ), $site_title );
|
$subject = sprintf( __( '[%s] Background updates have finished' ), $site_title );
|
||||||
}
|
}
|
||||||
|
|
||||||
$title = __( 'UPDATE LOG' );
|
$body[] = trim( __( '
|
||||||
$body[] = $title;
|
UPDATE LOG
|
||||||
$body[] = str_repeat( '=', strlen( $title ) );
|
==========' ) );
|
||||||
$body[] = '';
|
$body[] = '';
|
||||||
|
|
||||||
foreach ( array( 'core', 'plugin', 'theme', 'translation' ) as $type ) {
|
foreach ( array( 'core', 'plugin', 'theme', 'translation' ) as $type ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user