Opened 8 years ago
Closed 8 years ago
#35919 closed defect (bug) (fixed)
Docs return in get_term()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | docs | Cc: |
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.
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.