[wp-trac] [WordPress Trac] #51811: Query inconsistency between WP_Query and WP_Term_Query
WordPress Trac
noreply at wordpress.org
Mon Apr 6 08:01:25 UTC 2026
#51811: Query inconsistency between WP_Query and WP_Term_Query
-------------------------------------------------+-------------------------
Reporter: tonydjukic | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Query | Version: 4.6
Severity: normal | Resolution:
Keywords: good-first-bug has-patch has-unit- | Focuses: coding-
tests | standards
-------------------------------------------------+-------------------------
Changes (by motylanogha):
* Attachment "51811.diff" added.
Refreshed patch for current trunk. Adds 's' as alias for 'search' in
WP_Term_Query for consistency with WP_Query. 'search' takes precedence
when both are provided. 3 unit tests, all 45 term query tests pass.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51811>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list