[wp-trac] [WordPress Trac] #13782: query_posts and strict boolean

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 8 12:47:22 UTC 2010


#13782: query_posts and strict boolean
-----------------------------+----------------------------------------------
 Reporter:  arena            |       Owner:  ryan          
     Type:  feature request  |      Status:  new           
 Priority:  normal           |   Milestone:  Future Release
Component:  Query            |     Version:                
 Severity:  normal           |    Keywords:                
-----------------------------+----------------------------------------------

Comment(by filosofo):

 The underlying issue is that WP parses query values eclectically. To make
 "strict" really work, you would first have to rewrite the query parsing
 algorithms into something that actually is strict in the sense of being
 general and consistent across query arguments. At that point you'd have a
 new, backwards-incompatible query parser.

 "strict" might actually be a good way of transitioning to an improved
 query parsing engine while stepping around backwards-compatibility issues:
 those queries that don't specify it would use the old system.

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


More information about the wp-trac mailing list