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
This commit is contained in:
parent
f0c4ab3e69
commit
02eaef3ae0
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user