Opened 6 years ago
Closed 6 years ago
#50753 closed defect (bug) (fixed)
Docs: mistake in wp_insert_term inline documentation
| Reported by: | audrasjb | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | Taxonomy | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fix inline docs