From a0fa0d332817e8c28ba1fb660831123a9bfd2d79 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Nov 2015 23:59:26 +0000 Subject: [PATCH] Remove `` tags from translatable strings in `wp-load.php`. Add translator comments. Props ramiy. Fixes #34574. Built from https://develop.svn.wordpress.org/trunk@35547 git-svn-id: http://core.svn.wordpress.org/trunk@35511 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-load.php | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 3bd0514710..1b8cd390a8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta3-35546'; +$wp_version = '4.4-beta3-35547'; /** * 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 a20fc0ac57..94a8b541e7 100644 --- a/wp-load.php +++ b/wp-load.php @@ -72,9 +72,21 @@ if ( file_exists( ABSPATH . 'wp-config.php') ) { wp_load_translations_early(); // Die with an error message - $die = __( "There doesn't seem to be a wp-config.php file. I need this before we can get started." ) . '

'; - $die .= '

' . __( "Need more help? We got it." ) . '

'; - $die .= '

' . __( "You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ) . '

'; + $die = sprintf( + /* translators: %s: wp-config.php */ + __( "There doesn't seem to be a %s file. I need this before we can get started." ), + 'wp-config.php' + ) . '

'; + $die .= '

' . sprintf( + /* translators: %s: Codex URL */ + __( "Need more help? We got it." ), + __( 'https://codex.wordpress.org/Editing_wp-config.php' ) + ) . '

'; + $die .= '

' . sprintf( + /* translators: %s: wp-config.php */ + __( "You can create a %s file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ), + 'wp-config.php' + ) . '

'; $die .= '

' . __( "Create a Configuration File" ) . ''; wp_die( $die, __( 'WordPress › Error' ) );