From 9dae1af97c54bba8358c74067ec81d493a880dc6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 31 Dec 2013 10:26:37 +0000 Subject: [PATCH] Make sure "UPDATE LOG" in debug emails matches the underlining when translated. fixes #26621. git-svn-id: https://develop.svn.wordpress.org/trunk@26883 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-upgrader.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ) {