From 1e06e917af3577fa8b46f909051ff6a10ebe4ade Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 6 Oct 2015 17:34:54 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/class-wp-ms-themes-list-table.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php index 9fe0f229fe..3298f96de3 100644 --- a/src/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/src/wp-admin/includes/class-wp-ms-themes-list-table.php @@ -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.' ); + } } /**