mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Fix invalid markup when searching for installed themes. fixes #25288.
Built from https://develop.svn.wordpress.org/trunk@25369 git-svn-id: http://core.svn.wordpress.org/trunk@25319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6fb5ef65c0
commit
0232d1cfd8
@ -114,6 +114,16 @@ class WP_Themes_List_Table extends WP_List_Table {
|
||||
return array();
|
||||
}
|
||||
|
||||
function display_rows_or_placeholder() {
|
||||
if ( $this->has_items() ) {
|
||||
$this->display_rows();
|
||||
} else {
|
||||
echo '<div class="no-items">';
|
||||
$this->no_items();
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
function display_rows() {
|
||||
$themes = $this->items;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user