[wp-trac] [WordPress Trac] #14997: Single filter for all WP_Query clauses

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 13 13:37:23 UTC 2010

#14997: Single filter for all WP_Query clauses
 Reporter:  scribu       |        Owner:          
     Type:  enhancement  |       Status:  reopened
 Priority:  normal       |    Milestone:  3.1     
Component:  Query        |      Version:          
 Severity:  normal       |   Resolution:          
 Keywords:  has-patch    |  

Comment(by scribu):

 > One, I don't know if I like that the order of the filters was changed. I
 have previously used the posts_where filter to add a callback to
 posts_join if necessary.

 That's precisely the kind of hacks the new filter aims to address. Anyway,
 I will revert to the original order, for back-compat.

Ticket URL: <http://core.trac.wordpress.org/ticket/14997#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list