From 044064dcce078de0cbf9101b44e55c14ff37149d Mon Sep 17 00:00:00 2001 From: Pascal Birchler 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 '

' . __( 'Allow automatic database repair' ) . '

'; - echo '

' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.' ) . "

define('WP_ALLOW_REPAIR', true);

"; + echo '

'; + 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.' ), + 'wp-config.php' + ); + echo "

define('WP_ALLOW_REPAIR', true);

"; $default_key = 'put your unique phrase here'; $missing_key = false;