[wp-trac] [WordPress Trac] #10463: Allow _wp_get_comment_list to handle custom comment types

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 22 00:33:27 UTC 2009


#10463: Allow _wp_get_comment_list to handle custom comment types
---------------------------+------------------------------------------------
 Reporter:  aaroncampbell  |       Owner:       
     Type:  defect (bug)   |      Status:  new  
 Priority:  normal         |   Milestone:  2.8.3
Component:  General        |     Version:  2.8.1
 Severity:  normal         |    Keywords:       
---------------------------+------------------------------------------------
 Plugins (like [http://wordpress.org/extend/plugins/tweetbacks/ tweetbacks]
 by Joost) can add custom comment types.  While these can be easily used in
 most places, but not in _wp_get_comment_list().  Actually, on the edit-
 comments page you can use the admin_comment_types_dropdown filter to add
 additional comment types to the dropdown, but you can't actually filter by
 them.

 I'm attaching a patch to fix it based on the existing usage where types is
 a string.  However, I'm wondering if we should allow type to be either a
 string OR an array, which would allow you to specify multiple types.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10463>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list