[wp-trac] [WordPress Trac] #17020: add hooks for comment queries

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 2 16:56:33 UTC 2011


#17020: add hooks for comment queries
-------------------------+-----------------------------
 Reporter:  kevinB       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Comments     |    Version:
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 Although WP_Comment_Query::query() is fully filterable, some supplemental
 comment queries are still unfilterable.  The submitted patch adds the
 following hooks:

  * function get_approved_comments() - query filter
 'get_approved_comments_query'

  * function wp_dashboard_recent_comments() - query filter
 'dashboard_recent_comments_query'

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


More information about the wp-trac mailing list