From 561518cdd734d4743862e9510e7d116c0184d086 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 12 Apr 2022 01:47:07 +0000 Subject: [PATCH] I18N: Remove `wp-config.php` file name from translatable strings. Follow-up to [35547], [35557], [53131]. See #46057. Built from https://develop.svn.wordpress.org/trunk@53148 git-svn-id: http://core.svn.wordpress.org/trunk@52737 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/setup-config.php | 7 ++++--- wp-includes/version.php | 2 +- wp-load.php | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index bd3ec1d0b0..e3a1c00fab 100644 --- a/wp-admin/setup-config.php +++ b/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/wp-includes/version.php b/wp-includes/version.php index 09443bf9df..2caf2499c6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-53147'; +$wp_version = '6.0-alpha-53148'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-load.php b/wp-load.php index b583f40240..c813cba56e 100644 --- a/wp-load.php +++ b/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 */