From b9556e457fd0fb631bd5a5795237fca19c69735f Mon Sep 17 00:00:00 2001
From: Sergey Biryukov
Date: Tue, 12 Apr 2022 01:45:18 +0000
Subject: [PATCH] I18N: Remove `wp-config.php` file name from translatable
strings.
Follow-up to [35547], [35557], [53131].
See #46057.
git-svn-id: https://develop.svn.wordpress.org/trunk@53148 602fd350-edb4-49c9-b593-d223f7449a82
---
src/wp-admin/setup-config.php | 7 ++++---
src/wp-load.php | 7 ++++---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php
index bd3ec1d0b0..e3a1c00fab 100644
--- a/src/wp-admin/setup-config.php
+++ b/src/wp-admin/setup-config.php
@@ -186,9 +186,10 @@ switch ( $step ) {
Read the support article on wp-config.php.' ),
- __( 'https://wordpress.org/support/article/editing-wp-config-php/' )
+ /* translators: 1: Documentation URL, 2: wp-config.php */
+ __( 'Need more help? Read the support article on %2$s.' ),
+ __( 'https://wordpress.org/support/article/editing-wp-config-php/' ),
+ 'wp-config.php'
);
?>
diff --git a/src/wp-load.php b/src/wp-load.php
index b583f40240..c813cba56e 100644
--- a/src/wp-load.php
+++ b/src/wp-load.php
@@ -91,9 +91,10 @@ if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
'wp-config.php'
) . '';
$die .= '' . sprintf(
- /* translators: %s: Documentation URL. */
- __( "Need more help? Read the support article on wp-config.php." ),
- __( 'https://wordpress.org/support/article/editing-wp-config-php/' )
+ /* translators: 1: Documentation URL, 2: wp-config.php */
+ __( 'Need more help? Read the support article on %2$s.' ),
+ __( 'https://wordpress.org/support/article/editing-wp-config-php/' ),
+ 'wp-config.php'
) . '
';
$die .= '' . sprintf(
/* translators: %s: wp-config.php */