[wp-trac] [WordPress Trac] #11231: Comment lists not consistent when adding a new column

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 23 23:31:29 UTC 2009


#11231: Comment lists not consistent when adding a new column
----------------------------+-----------------------------------------------
 Reporter:  arena           |       Owner:                
     Type:  defect (bug)    |      Status:  new           
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  2.8.5         
 Severity:  normal          |    Keywords:                
----------------------------+-----------------------------------------------

Comment(by arena):

 What is causing the problem :

 * the comment list can be changed by plugin using following hooks :

 add_filter('manage_edit-comments_columns',  ... to give the new column(s)
 name(s)
 add_action('manage_comments_custom_column', ... to give the value of
 this(ose) new column(s)

 * the same comment list in post comments list is a table

 the header of the table is hard coded to skip the "In Response To" column
 and is not using 'manage_edit-comments_columns' hook.
 But the content of the table is built using
 'manage_comments_custom_column' hook

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


More information about the wp-trac mailing list