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:
parent
f5b64d1674
commit
1e06e917af
@ -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.' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user