[wp-trac] Re: [WordPress Trac] #9583: Missing hook for comments custom column management (was: Missing hooks for custom columns)

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 19 04:42:21 GMT 2009


#9583: Missing hook for comments custom column management
--------------------------+-------------------------------------------------
 Reporter:  sirzooro      |       Owner:  anonymous       
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  2.8             
Component:  General       |     Version:  2.7.1           
 Severity:  normal        |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------
Changes (by coffee2code):

  * keywords:  has-patch needs-testing => has-patch tested
  * milestone:  2.7.2 => 2.8


Comment:

 +1

 Patch applied cleanly against r11001.  Though I'm submitting an updated
 version which is based on a diff performed from the root of trunk (and
 against the latest rev).

 Tested, and works.

 To clarify the ticket: in `wp-admin/includes/template.php`, the function
 `_wp_comment_row()` does not specify a default branch in the switch
 statement to allow a plugin to manage custom columns for comments (i.e.,
 via an `add_action('manage_comments_custom_column', ...)`).

 All other admin row handlers provide such an action/filter to hook.

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


More information about the wp-trac mailing list