Fix invalid markup when searching for installed themes. fixes #25288.
git-svn-id: https://develop.svn.wordpress.org/trunk@25369 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f97a98011b
commit
c05412b16c
@ -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