diff --git a/src/wp-admin/includes/class-wp-upgrader.php b/src/wp-admin/includes/class-wp-upgrader.php index 1d35c24818..09c224055d 100644 --- a/src/wp-admin/includes/class-wp-upgrader.php +++ b/src/wp-admin/includes/class-wp-upgrader.php @@ -2395,8 +2395,9 @@ Thanks! -- The WordPress Team" ); $subject = sprintf( __( '[%s] Background updates have finished' ), $site_title ); } - $body[] = __( 'UPDATE LOG' ); - $body[] = '=========='; + $title = __( 'UPDATE LOG' ); + $body[] = $title; + $body[] = str_repeat( '=', strlen( $title ) ); $body[] = ''; foreach ( array( 'core', 'plugin', 'theme', 'translation' ) as $type ) {