[wp-trac] [WordPress Trac] #17024: add hook for get_approved_comments
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 2 17:27:19 UTC 2011
#17024: add hook for get_approved_comments
-------------------------+-----------------------------
Reporter: kevinB | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version:
Severity: normal | Keywords: has-patch
-------------------------+-----------------------------
function get_approved_comments(), used in comments-popup.php, is not
filterable. Plugins may use existing WP_Query and/or WP_Comment_Query
hooks to filter the comments result set, and need the ability to filter
this function accordingly.
The corresponding patch adds query filter 'get_approved_comments_query'
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17024>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list