[wp-trac] [WordPress Trac] #30183: Why doesn't WP_List_Table implement column_cb() and column_default() ?

WordPress Trac noreply at wordpress.org
Wed Oct 29 19:12:31 UTC 2014


#30183: Why doesn't WP_List_Table implement column_cb() and column_default() ?
----------------------------+-----------------------------
 Reporter:  bobbingwide     |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.0
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 I know that WP_List_Table is reserved for WordPress core, so I took a copy
 as suggested. Then I starting writing my own code to use the new class.

 I sort of followed the step by step guide in
 http://wpengineer.com/2426/wp_list_table-a-step-by-step-guide/ but got
 ahead of it and defined some columns without implementing any logic to
 display them.

 When executed all I got was "No data received" (in chrome ).

 I was hoping that I might have at least found a "Fatal error: call to
 undefined method class::method" somewhere in my error logs.

 Am I doing something terribly wrong?
 My workaround is to implement die()ing methods in the parent class.
 Is there any reason why the same solution should not be applied to the
 core code?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30183>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list