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

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 8 10:16:24 UTC 2010


#13782: query_posts and strict boolean
-----------------------------+----------------------------------------------
 Reporter:  arena            |       Owner:     
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  3.0
Component:  General          |     Version:     
 Severity:  normal           |    Keywords:     
-----------------------------+----------------------------------------------
 when querying posts, wordpress discards any other filtering such as cat :
 for example, retrieve post p in category c => "?post=p&cat=c" is converted
 in "?post=p".

 Adding a 'strict' boolean argument like "?post=p&cat=c&strict=1" to avoid
 any convertion of the query. strict default value would be 0 of course.

 what do you think ?

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


More information about the wp-trac mailing list