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

Fixes #25464.
Built from https://develop.svn.wordpress.org/trunk@34873


git-svn-id: http://core.svn.wordpress.org/trunk@34838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-10-06 17:35:23 +00:00
parent 551b904985
commit 0bc1d84fc7
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-34872'; $wp_version = '4.4-alpha-34873';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.