[wp-trac] [WordPress Trac] #34148: PHP notice in class WP_List_Table using register_column_headers (_WP_List_Table_Compat)

WordPress Trac noreply at wordpress.org
Wed Nov 18 22:01:53 UTC 2015


#34148: PHP notice in class WP_List_Table using register_column_headers
(_WP_List_Table_Compat)
----------------------------+-----------------------------
 Reporter:  Hax             |       Owner:
     Type:  defect (bug)    |      Status:  assigned
 Priority:  normal          |   Milestone:  4.4
Component:  Administration  |     Version:  4.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  administration
----------------------------+-----------------------------

Comment (by JustinSainton):

 I'm not sure if this is the best/right solution, but modifying the
 `$_columns` property in the `_WP_List_Table_Compat` class to default to an
 array, rather than NULL, seems to fix the issue.

 @danielbachhuber, thoughts on that?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34148#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list