Opened 8 years ago
Closed 8 years ago
#37075 closed enhancement (fixed)
get_terms() argument documentation should point to WP_Term_Query::__construct()
Reported by: | boonebgorges | Owned by: | sjmur |
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | good-first-bug has-patch |
Focuses: | docs | Cc: |
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.
8 years ago
@
8 years ago
Added all the relevant arguments in the documentation and pointed it to WP_Term_Query::construct()
#5
@
8 years ago
- Milestone changed from Awaiting Review to 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.
Hey, I'd like to take this and fix the doc.