[wp-trac] [WordPress Trac] #46010: Auto-generated term slugs can be greater than 200 characters, giving "Could not insert term into the database." error
WordPress Trac
noreply at wordpress.org
Tue Nov 4 19:14:11 UTC 2025
#46010: Auto-generated term slugs can be greater than 200 characters, giving "Could
not insert term into the database." error
-------------------------------------------------+-------------------------
Reporter: mikejolley | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests dev-feedback has- | Focuses:
patch 2nd-opinion |
-------------------------------------------------+-------------------------
Changes (by mindctrl):
* keywords: needs-unit-tests dev-feedback close has-patch => needs-unit-
tests dev-feedback has-patch 2nd-opinion
Comment:
If taking a truncating approach, I wonder if the logic should go inside of
`wp_unique_term_slug()` instead, which would also cover
`wp_update_term()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46010#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list