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

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 1 19:25:44 UTC 2010


#14997: Single filter for all WP_Query clauses
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:                 
 Severity:  normal       |    Keywords:  has-patch      
-------------------------+--------------------------------------------------

Comment(by hakre):

 After thinking about the suggested patch a bit, I was wondering how to
 deal with unset variables. Those are local variables that are unset prior
 to the patch to whitelist them for changes (EXTR_SKIP). If a filter now
 unsets array keys of the same name, those value will stay unset in the
 function but they are expected to be existing.

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


More information about the wp-trac mailing list