From 75b4c28619389cc1996e7b9b1547c62fe3778ae5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 10 Jan 2021 19:26:46 +0000 Subject: [PATCH] Bootstrap/Load: Add missing `

` 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 --- src/wp-load.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-load.php b/src/wp-load.php index 3f4d764bfc..5b2d61c2c1 100644 --- a/src/wp-load.php +++ b/src/wp-load.php @@ -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 = '

' . 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' @@ -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." ), 'wp-config.php' ) . '

'; - $die .= '

' . __( 'Create a Configuration File' ) . ''; + $die .= '

' . __( 'Create a Configuration File' ) . '

'; wp_die( $die, __( 'WordPress › Error' ) ); }