[wp-trac] [WordPress Trac] #33893: WP_Post_Comments_List_Table blows up as WP_Comments_List_Table does not exist

WordPress Trac noreply at wordpress.org
Wed Sep 16 11:10:26 UTC 2015


#33893: WP_Post_Comments_List_Table blows up as WP_Comments_List_Table does not
exist
----------------------------+-----------------------------
 Reporter:  tyxla           |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Comments        |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 It appears that moving `WP_Post_Comments_List_Table` to a separate file
 [34223] has open up an issue with the "Comments" meta box in the single
 post edit administration screen. The `WP_Comments_List_Table` class was
 not found when attempting to define the `WP_Post_Comments_List_Table`
 class.

 The error that is displayed in the Comments box is:

 `Fatal error: Class 'WP_Comments_List_Table' not found in ../src/wp-
 admin/includes/class-wp-post-comments-list-table.php on line 20`

 To fix this issue, the `WP_Post_Comments_List_Table` entry in
 `_get_list_table()` will also have to require the `WP_Comments_List_Table`
 class.

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


More information about the wp-trac mailing list