[wp-trac] [WordPress Trac] #19515: Helper functions for accessing 'tax_query', 'query', 'meta_query' WP Query properties

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 12 20:43:43 UTC 2011


#19515: Helper functions for accessing 'tax_query', 'query', 'meta_query' WP Query
properties
-------------------------+-------------------------
 Reporter:  ejdanderson  |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Query        |     Version:  3.1
 Severity:  minor        |  Resolution:  worksforme
 Keywords:  needs-patch  |
-------------------------+-------------------------

Comment (by scribu):

 Unlike get_queried_object() and the rest, the {{{tax_query}}} and
 {{{meta_query}}} properties are not something you should be using very
 often. It's an implementation detail.

 Therefore, we shouldn't promote them by adding helpers for accessing them.

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


More information about the wp-trac mailing list