[wp-trac] [WordPress Trac] #35381: Introduce `WP_Term_Query`

WordPress Trac noreply at wordpress.org
Thu May 26 04:32:33 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 dev-feedback  |     Focuses:
--------------------------------------------------+------------------

Comment (by boonebgorges):

 In [changeset:"37572"]:
 {{{
 #!CommitTicketReference repository="" revision="37572"
 Introduce `WP_Term_Query` and use in `get_terms()`.

 `WP_Term_Query` is modeled on existing query classes, such as those used
 for comments and users. It provides a more consistent structure for
 generating
 term queries, and should make it easier to add new functionality in the
 future.

 Props flixos90, boonebgorges.
 See #35381.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35381#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list