Themes: Add missing <p> tags to error message in WP_Theme_Install_List_Table::prepare_items().

Follow-up to [45909], [49953].

See #52254.
Built from https://develop.svn.wordpress.org/trunk@49954


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

View File

@ -148,7 +148,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
$api = themes_api( 'query_themes', $args );
if ( is_wp_error( $api ) ) {
wp_die( $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try Again' ) . '</a>' );
wp_die( '<p>' . $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try Again' ) . '</a></p>' );
}
$this->items = $api->themes;

View File

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