Opened 7 years ago
Closed 7 years ago
#36182 closed defect (bug) (fixed)
Incorrect `@return` documentation for `wp_set_object_terms()` and friends
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | |
Focuses: | docs | Cc: |
Description
wp_set_object_terms()
and its wrappers state in their doc blocks that the return value is an array of term IDs. This is incorrect. The return value is, for better or for worse, term taxonomy IDs. The distinction matters less as shared terms start to go away, but the numbers will be perpetually different for legacy terms (or cases where shared terms have not been split) so the documentation should be fixed.
Change History (1)
Note: See
TracTickets for help on using
tickets.
In 36896: