From 0bc1d84fc785f7d4e3eefe3eef65b84db4204972 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Tue, 6 Oct 2015 17:35:23 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-ms-themes-list-table.php | 5 +++-- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-ms-themes-list-table.php b/wp-admin/includes/class-wp-ms-themes-list-table.php index 9fe0f229fe..3298f96de3 100644 --- a/wp-admin/includes/class-wp-ms-themes-list-table.php +++ b/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.' ); + } } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 618d2073ed..87fbcfd686 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.