Opened 11 years ago
Closed 11 years ago
#32950 closed defect (bug) (fixed)
Return documentation is incorrect for wp_get_post_terms()
| Reported by: | jeremyfelt | Owned by: | adamkheckler |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.3 |
| Component: | Taxonomy | Version: | 2.8 |
| Severity: | normal | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Diff attached. Seems fairly simple. (My first Core contribution!)