Opened 5 years ago
Closed 5 years ago
#50753 closed defect (bug) (fixed)
Docs: mistake in wp_insert_term inline documentation
Reported by: | audrasjb | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
There is a mistake in wp_insert_term
inline docs:
The error is located here: https://core.trac.wordpress.org/browser/tags/5.4/src/wp-includes/taxonomy.php#L2103
"The term name to add or update."
Given terms can only be added and not updated, we should say "The term name to add".
Props should be attributed to @bmartinent who spotted the issue.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Fix inline docs