[wp-trac] [WordPress Trac] #35381: Introduce `WP_Term_Query`
WordPress Trac
noreply at wordpress.org
Tue Jun 7 22:58:26 UTC 2016
#35381: Introduce `WP_Term_Query`
----------------------------------------------------+------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-dev-note | Focuses:
----------------------------------------------------+------------------
Comment (by flixos90):
Replying to [comment:28 spacedmonkey]:
> I just noticed that wp_term_query can not query by term_taxonomy_id. I
believe it should, as it would then allow us to use get_terms to replace
the internals of functions like term_exists, get_term_by and the
wp_tax_query.
Sounds like an idea worth considering! We should probably deal with it in
a separate ticket though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35381#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list