From 044064dcce078de0cbf9101b44e55c14ff37149d Mon Sep 17 00:00:00 2001 From: Pascal Birchler <swissspidy@git.wordpress.org> Date: Thu, 23 Jun 2016 16:11:47 +0000 Subject: [PATCH] I18N: Remove HTML tags from translatable string in `wp-admin/maint/repair.php`. Props anilbasnet. Fixes #37147. git-svn-id: https://develop.svn.wordpress.org/trunk@37858 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/maint/repair.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/maint/repair.php b/src/wp-admin/maint/repair.php index 85494fb717..6b99fe4939 100644 --- a/src/wp-admin/maint/repair.php +++ b/src/wp-admin/maint/repair.php @@ -31,7 +31,13 @@ if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { echo '<h1 class="screen-reader-text">' . __( 'Allow automatic database repair' ) . '</h1>'; - echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>"; + echo '<p>'; + printf( + /* translators: %s: File name. */ + __( 'To allow use of this page to automatically repair database problems, please add the following line to your %s file. Once this line is added to your config, reload this page.' ), + '<code>wp-config.php</code>' + ); + echo "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>"; $default_key = 'put your unique phrase here'; $missing_key = false;