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:
parent
75d686563f
commit
9b44c28f78
|
@ -148,7 +148,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {
|
||||||
$api = themes_api( 'query_themes', $args );
|
$api = themes_api( 'query_themes', $args );
|
||||||
|
|
||||||
if ( is_wp_error( $api ) ) {
|
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;
|
$this->items = $api->themes;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue