Skip to content

Commit 75b4c28

Browse files
Bootstrap/Load: Add missing <p> tags to error message in wp-load.php.
Follow-up to [45909]. Props mukesh27, TimothyBlynJacobs, audrasjb. Fixes #52254. git-svn-id: https://develop.svn.wordpress.org/trunk@49953 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 1f2695e commit 75b4c28

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-load.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
wp_check_php_mysql_versions();
7272
wp_load_translations_early();
7373

74-
// Die with an error message
75-
$die = sprintf(
74+
// Die with an error message.
75+
$die = '<p>' . sprintf(
7676
/* translators: %s: wp-config.php */
7777
__( "There doesn't seem to be a %s file. I need this before we can get started." ),
7878
'<code>wp-config.php</code>'
@@ -87,7 +87,7 @@
8787
__( "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." ),
8888
'<code>wp-config.php</code>'
8989
) . '</p>';
90-
$die .= '<p><a href="' . $path . '" class="button button-large">' . __( 'Create a Configuration File' ) . '</a>';
90+
$die .= '<p><a href="' . $path . '" class="button button-large">' . __( 'Create a Configuration File' ) . '</a></p>';
9191

9292
wp_die( $die, __( 'WordPress &rsaquo; Error' ) );
9393
}

0 commit comments

Comments
 (0)