Opened 10 years ago
Closed 9 years ago
#37075 closed enhancement (fixed)
get_terms() argument documentation should point to WP_Term_Query::__construct()
| Reported by: | boonebgorges | Owned by: | sjmur |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs |
Description
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.
Attachments (2)
Change History (8)
This ticket was mentioned in Slack in #docs by morganestes. View the logs.
10 years ago
@
10 years ago
Added all the relevant arguments in the documentation and pointed it to WP_Term_Query::construct()
#5
@
9 years ago
- Milestone Awaiting Review → 4.8
@shashwatmittal Thanks for the patch! (Note for the future: attachments don't trigger email notifications, so you should accompany your patches with a comment.) It looks like 37075.2.patch has gone a bit stale, but I'll clean it up.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hey, I'd like to take this and fix the doc.