Make WordPress Core


Ignore:
Timestamp:
05/22/2014 09:40:36 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Fix inconsistent header underlining and spacing in background update emails.

fixes #28306.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r28496 r28537  
    25332533        $site_title = wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES );
    25342534        if ( $failures ) {
    2535             $body[] = __( "
     2535            $body[] = trim( __( "
    25362536BETA TESTING?
    25372537=============
     
    25432543 * Or, if you're comfortable writing a bug report: http://core.trac.wordpress.org/
    25442544
    2545 Thanks! -- The WordPress Team" );
     2545Thanks! -- The WordPress Team" ) );
     2546            $body[] = '';
    25462547
    25472548            $subject = sprintf( __( '[%s] There were failures during background updates' ), $site_title );
     
    25502551        }
    25512552
    2552         $title = __( 'UPDATE LOG' );
    2553         $body[] = $title;
    2554         $body[] = str_repeat( '=', strlen( $title ) );
     2553        $body[] = trim( __( '
     2554UPDATE LOG
     2555==========' ) );
    25552556        $body[] = '';
    25562557
Note: See TracChangeset for help on using the changeset viewer.