Make WordPress Core

Ticket #28306: 28306.patch

File 28306.patch, 1.2 KB (added by SergeyBiryukov, 12 years ago)
  • src/wp-admin/includes/class-wp-upgrader.php

     
    25322532
    25332533                $site_title = wp_specialchars_decode( get_bloginfo( 'name' ), ENT_QUOTES );
    25342534                if ( $failures ) {
    2535                         $body[] = __( "
     2535                        $body[] = trim( __( "
    25362536BETA TESTING?
    25372537=============
    25382538
     
    25422542 * Open a thread in the support forums: https://wordpress.org/support/forum/alphabeta
    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 );
    25482549                } else {
     
    25492550                        $subject = sprintf( __( '[%s] Background updates have finished' ), $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
    25572558                foreach ( array( 'core', 'plugin', 'theme', 'translation' ) as $type ) {