MS Themes List Table: Fix inverted logic for displaying the "No items" message.

Fixes #25464.

git-svn-id: https://develop.svn.wordpress.org/trunk@34873 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-10-06 17:34:54 +00:00
parent f5b64d1674
commit 1e06e917af

View File

@ -217,10 +217,11 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
* @access public
*/
public function no_items() {
if ( ! $this->has_items )
if ( $this->has_items ) {
_e( 'No themes found.' );
else
} else {
_e( 'You do not appear to have any themes available at this time.' );
}
}
/**