Opened 11 years ago
Closed 11 years ago
#35919 closed defect (bug) (fixed)
Docs return in get_term()
| Reported by: | sebastian.pisula | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.5 |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
I suggest change mixed to WP_Term|WP_Error|array because IDE can give prompt.
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)
Looking through the codebase, it seems like nearly all of the return types are generic arrays. Not sure why, but I'm sure there is a reason.