[wp-trac] [WordPress Trac] #38805: A hook is missing in class WP_List_Table

WordPress Trac noreply at wordpress.org
Tue Nov 15 22:33:43 UTC 2016


#38805: A hook is missing in class WP_List_Table
----------------------------+------------------------------
 Reporter:  madvic          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  4.6.1
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by madvic):

 Yes it is, but not in WP_List_Table, we can't hook this class.
 WP_List_Table is not abstract. Ant it used in many projects.


 Replying to [comment:1 SergeyBiryukov]:
 > > But the last one doesn't exist in WP_List_Table, I can create a column
 but I can't insert data into.
 >
 > It exists in classes that extend `WP_List_Table` though:
 > * [source:tags/4.6.1/src/wp-admin/includes/class-wp-comments-list-
 table.php?marks=791#L783 manage_comments_custom_column]
 > * [source:tags/4.6.1/src/wp-admin/includes/class-wp-links-list-
 table.php?marks=294#L286 manage_link_custom_column]
 > * [source:tags/4.6.1/src/wp-admin/includes/class-wp-media-list-
 table.php?marks=595#L585 manage_media_custom_column]
 > * [source:tags/4.6.1/src/wp-admin/includes/class-wp-ms-sites-list-
 table.php?marks=452#L444 manage_sites_custom_column]
 > * [source:tags/4.6.1/src/wp-admin/includes/class-wp-ms-themes-list-
 table.php?marks=615#L606 manage_themes_custom_column]
 > * [source:tags/4.6.1/src/wp-admin/includes/class-wp-plugins-list-
 table.php?marks=832#L823 manage_plugins_custom_column]
 > * [source:tags/4.6.1/src/wp-admin/includes/class-wp-posts-list-
 table.php?marks=1136#L1126 manage_{$post->post_type}_posts_custom_column]
 > * [source:tags/4.6.1/src/wp-admin/includes/class-wp-terms-list-
 table.php?marks=573#L561 manage_{$this->screen->taxonomy}_custom_column]
 > * [source:tags/4.6.1/src/wp-admin/includes/class-wp-users-list-
 table.php?marks=501#L492 manage_users_custom_column]

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


More information about the wp-trac mailing list