Skip to content

Commit a0fa0d3

Browse files
Remove <code> 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
1 parent b5b3b0b commit a0fa0d3

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @global string $wp_version
66
*/
7-
$wp_version = '4.4-beta3-35546';
7+
$wp_version = '4.4-beta3-35547';
88

99
/**
1010
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

wp-load.php

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,21 @@
7272
wp_load_translations_early();
7373

7474
// Die with an error message
75-
$die = __( "There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started." ) . '</p>';
76-
$die .= '<p>' . __( "Need more help? <a href='https://codex.wordpress.org/Editing_wp-config.php'>We got it</a>." ) . '</p>';
77-
$die .= '<p>' . __( "You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file." ) . '</p>';
75+
$die = sprintf(
76+
/* translators: %s: wp-config.php */
77+
__( "There doesn't seem to be a %s file. I need this before we can get started." ),
78+
'<code>wp-config.php</code>'
79+
) . '</p>';
80+
$die .= '<p>' . sprintf(
81+
/* translators: %s: Codex URL */
82+
__( "Need more help? <a href='%s'>We got it</a>." ),
83+
__( 'https://codex.wordpress.org/Editing_wp-config.php' )
84+
) . '</p>';
85+
$die .= '<p>' . sprintf(
86+
/* translators: %s: wp-config.php */
87+
__( "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." ),
88+
'<code>wp-config.php</code>'
89+
) . '</p>';
7890
$die .= '<p><a href="' . $path . '" class="button button-large">' . __( "Create a Configuration File" ) . '</a>';
7991

8092
wp_die( $die, __( 'WordPress &rsaquo; Error' ) );

0 commit comments

Comments
 (0)