Opened 10 years ago
Closed 10 years ago
#32950 closed defect (bug) (fixed)
Return documentation is incorrect for wp_get_post_terms()
Reported by: | jeremyfelt | Owned by: | adamkheckler |
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | Taxonomy | Keywords: | good-first-bug has-patch |
Focuses: | docs | Cc: |
Description
The documentation for wp_get_post_terms()
specifies an array()
as the return value. However, it returns the value of wp_get_object_terms()
, which can return WP_Error()
.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Diff attached. Seems fairly simple. (My first Core contribution!)