Make WordPress Core

Changeset 25369


Ignore:
Timestamp:
09/12/2013 12:03:01 AM (12 years ago)
Author:
SergeyBiryukov
Message:

Fix invalid markup when searching for installed themes. fixes #25288.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-themes-list-table.php

    r25032 r25369  
    113113    function get_columns() {
    114114        return array();
     115    }
     116
     117    function display_rows_or_placeholder() {
     118        if ( $this->has_items() ) {
     119            $this->display_rows();
     120        } else {
     121            echo '<div class="no-items">';
     122            $this->no_items();
     123            echo '</div>';
     124        }
    115125    }
    116126
Note: See TracChangeset for help on using the changeset viewer.