Skip to content

Commit 0664314

Browse files
Docs: Correct the type for WP_List_Table::$_column_headers.
The value is `null` until `::get_column_info()` is called. Follow-up to [31127], [35021]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60292 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 357d8ec commit 0664314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-admin/includes/class-wp-list-table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ class WP_List_Table {
7272
protected $modes = array();
7373

7474
/**
75-
* Stores the value returned by ->get_column_info().
75+
* Stores the value returned by ::get_column_info().
7676
*
7777
* @since 4.1.0
78-
* @var array
78+
* @var array|null
7979
*/
8080
protected $_column_headers;
8181

0 commit comments

Comments
 (0)