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.

Built from https://develop.svn.wordpress.org/trunk@31163


git-svn-id: http://core.svn.wordpress.org/trunk@31144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-01-12 16:17:22 +00:00
parent 86c0f63739
commit 91312e71cd
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,8 @@ class WP_MS_Themes_List_Table extends WP_List_Table {
public $site_id; public $site_id;
public $is_site_themes; public $is_site_themes;
private $has_items;
/** /**
* Constructor. * Constructor.
* *

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-alpha-31162'; $wp_version = '4.2-alpha-31163';
/** /**
* 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.