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

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

See #52254.

git-svn-id: https://develop.svn.wordpress.org/trunk@49954 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-01-10 19:35:45 +00:00
parent 75b4c28619
commit fcaf51bd20

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;