From a25d9ae3ba74f6a475d221cce2b93a5d7e4c40ad Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 31 Dec 2013 10:27:10 +0000 Subject: [PATCH] Make sure "UPDATE LOG" in debug emails matches the underlining when translated. fixes #26621. Built from https://develop.svn.wordpress.org/trunk@26883 git-svn-id: http://core.svn.wordpress.org/trunk@26766 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-upgrader.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index 1d35c24818..09c224055d 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/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 ) {