Skip to content

Commit fcaf51b

Browse files
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
1 parent 75b4c28 commit fcaf51b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/includes/class-wp-theme-install-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function prepare_items() {
148148
$api = themes_api( 'query_themes', $args );
149149

150150
if ( is_wp_error( $api ) ) {
151-
wp_die( $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try Again' ) . '</a>' );
151+
wp_die( '<p>' . $api->get_error_message() . '</p> <p><a href="#" onclick="document.location.reload(); return false;">' . __( 'Try Again' ) . '</a></p>' );
152152
}
153153

154154
$this->items = $api->themes;

0 commit comments

Comments
 (0)