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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2014-12-20 23:27:25 +00:00
parent 786caa4d55
commit bc1341628f
2 changed files with 10 additions and 12 deletions

View File

@@ -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