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

WordPress Trac noreply at wordpress.org
Sat Jun 11 03:43:18 UTC 2016


#37075: get_terms() argument documentation should point to
WP_Term_Query::__construct()
--------------------------+----------------------------------------
 Reporter:  boonebgorges  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:
 Severity:  normal        |   Keywords:  good-first-bug needs-patch
  Focuses:  docs          |
--------------------------+----------------------------------------
 After [37572], it doesn't make sense to keep complete documentation of
 arguments on `get_terms()`. We should (a) verify that all of the relevant
 argument documentation has been moved to `WP_Term_Query::__construct()`,
 and then (b) replace the `$args` documentation on `get_terms()` with a
 pointer to `WP_Term_Query`. See `get_comments()` and `get_users()` for
 examples.

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


More information about the wp-trac mailing list