[wp-trac] [WordPress Trac] #50753: Docs: mistake in wp_insert_term inline documentation
WordPress Trac
noreply at wordpress.org
Fri Jul 24 10:10:35 UTC 2020
#50753: Docs: mistake in wp_insert_term inline documentation
--------------------------+-----------------------------
Reporter: audrasjb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords: needs-patch
Focuses: docs |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50753>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list