[wp-trac] [WordPress Trac] #17199: Unintuitive tax query 'operator' values

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 20 21:52:00 UTC 2011


#17199: Unintuitive tax query 'operator' values
-------------------------+-----------------------------
 Reporter:  scribu       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Currently, the accepted values for the tax_query 'operator' arg are:

 'AND', 'IN' and 'NOT IN'.

 It would be better if they were instead:

 'AND', 'OR' and 'NOT'.

 which would be more intuitive and consistent with wp_list_filter().

 Obviously, we would still have to keep backwards compatibility with the
 old values.

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


More information about the wp-trac mailing list