Comment List Tables:

* Declare `$extra_items` property
* Since `->get_column_info()` overrides its parent's method, it doesn't need to set `_column_headers`, which is an undeclared property that is only used for caching the lookup after the first run in the parent class, which isn't called in the child class.
* `$_args` in `WP_List_Table` has to be `protected` for `WP_Post_Comments_List_Table` to legally access it. `$_args` is awkward as is and should probably be only available via a getter.

See #30799.


git-svn-id: https://develop.svn.wordpress.org/trunk@30984 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-12-20 23:27:00 +00:00
parent 44fe0ebf75
commit 061bfddda9
2 changed files with 10 additions and 12 deletions
@@ -24,9 +24,9 @@ class WP_List_Table {
*
* @since 3.1.0
* @var array
* @access private
* @access protected
*/
private $_args;
protected $_args;
/**
* Various information needed for displaying the pagination