Unintuitive tax query 'operator' values
|Reported by:||scribu||Owned by:|
|Severity:||normal||Keywords:||has-patch needs-refresh needs-docs needs-codex|
Description (last modified by scribu)
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.
Change History (8)
comment:4 wonderboymusic — 4 months ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.7