[wp-trac] [WordPress Trac] #37075: get_terms() argument documentation should point to WP_Term_Query::__construct()

WordPress Trac noreply at wordpress.org
Thu Mar 16 01:34:54 UTC 2017


#37075: get_terms() argument documentation should point to
WP_Term_Query::__construct()
--------------------------------------+---------------------
 Reporter:  boonebgorges              |       Owner:  sjmur
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.8
Component:  Taxonomy                  |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:  docs
--------------------------------------+---------------------
Changes (by boonebgorges):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40292"]:
 {{{
 #!CommitTicketReference repository="" revision="40292"
 Streamline `get_terms()` parameter documentation.

 Since 4.6, `get_terms()` has been a wrapper for `WP_Term_Query`.
 Full parameter documentation lives with the class, and
 `get_terms()` should reference rather than duplicate it.

 Props shashwatmittal.
 Fixes #37075.
 }}}

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


More information about the wp-trac mailing list