Bootstrap/Load: Add missing `<p>` tags to error message in `wp-load.php`.

Follow-up to [45909].

Props mukesh27, TimothyBlynJacobs, audrasjb.
Fixes #52254.
Built from https://develop.svn.wordpress.org/trunk@49953


git-svn-id: http://core.svn.wordpress.org/trunk@49652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-01-10 19:28:08 +00:00
parent b1f8ffa77d
commit 75d686563f
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-alpha-49952';
$wp_version = '5.7-alpha-49953';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -71,8 +71,8 @@ if ( file_exists( ABSPATH . 'wp-config.php' ) ) {
wp_check_php_mysql_versions();
wp_load_translations_early();
// Die with an error message
$die = sprintf(
// Die with an error message.
$die = '<p>' . sprintf(
/* translators: %s: wp-config.php */
__( "There doesn't seem to be a %s file. I need this before we can get started." ),
'<code>wp-config.php</code>'
@ -87,7 +87,7 @@ if ( file_exists( ABSPATH . '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." ),
'<code>wp-config.php</code>'
) . '</p>';
$die .= '<p><a href="' . $path . '" class="button button-large">' . __( 'Create a Configuration File' ) . '</a>';
$die .= '<p><a href="' . $path . '" class="button button-large">' . __( 'Create a Configuration File' ) . '</a></p>';
wp_die( $die, __( 'WordPress &rsaquo; Error' ) );
}