[wp-trac] [WordPress Trac] #25662: Hook Docs: wp-admin/includes/class-wp-comments-list-table.php

WordPress Trac noreply at wordpress.org
Tue Oct 22 13:48:08 UTC 2013


#25662: Hook Docs: wp-admin/includes/class-wp-comments-list-table.php
--------------------------+------------------------------
 Reporter:  siobhyb       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by siobhyb):

 I've attached my first pass at inline docs for wp-admin/includes/class-wp-
 comments-list-table.php and have added my notes below. :)

 '''Actions:'''

 - ''restrict_manage_comments''. Trac ticket where hook was first discussed
 and added: https://core.trac.wordpress.org/ticket/21344.

 - ''manage_comments_nav''. First added:
 https://core.trac.wordpress.org/changeset/7018.

 - ''manage_comments_custom_column''. Trac ticket where hook was first
 discussed and added: https://core.trac.wordpress.org/ticket/9583.

 '''Filters:'''

 The documentation for the filters had already been completed by
 @drewapicture as part of his Filter of the Day project:
 http://fotd.werdswords.com/. The last two hooks are duplicates.

 - ''comments_per_page''. Drew's writeup:
 http://fotd.werdswords.com/comments_per_page/.

 - ''comment_status_links''. Drew's writeup:
 http://fotd.werdswords.com/comment_status_links/.

 - ''admin_comment_types_dropdown''. Drew's writeup:
 http://fotd.werdswords.com/admin_comment_types_dropdown/.

 - ''comment_edit_pre''. Duplicate hook, was first-added to wp-
 admin/includes/comment.php.

 - ''comment_row_actions''. Duplicate hook, was first-added to wp-
 admin/includes/dashboard.php.

 I know the handling of duplicate hooks is being discussed in another
 ticket, I've used the "duplicate_hook" comment as I wasn't sure what
 approach to use. Let me know if this or anything else needs
 changing/improving. Thanks! :)

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25662#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list