mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
75b4c28619
commit
fcaf51bd20
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user