From 02eaef3ae02aaa36dd1a7a2cb8263459055ce702 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 12 Jan 2015 16:16:16 +0000 Subject: [PATCH] In lieu of refactoring, add a `private` field to `WP_MS_Themes_List_Table`, `$has_items`. Ideally, this class would overload `->has_items()` and not set a `private` field. See #30891. git-svn-id: https://develop.svn.wordpress.org/trunk@31163 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-ms-themes-list-table.php | 2 ++ 1 file changed, 2 insertions(+) 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 985d9bc54a..d3b484fe03 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 @@ -12,6 +12,8 @@ class WP_MS_Themes_List_Table extends WP_List_Table { public $site_id; public $is_site_themes; + private $has_items; + /** * Constructor. *