[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
Sun Oct 26 09:34:46 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 close | Focuses:
has-patch |
-------------------------------------------------+-------------------------
Changes (by nikunjraj29):
* Attachment "46010.2.diff" added.
The patch ensures that: Auto‑generated slugs are properly truncated to fit
within the database’s maximum length. Term insertion no longer fails due
to long slugs. Identifying and fixing a core bug that directly impacts
database integrity. Contributing a clean, minimal patch that’s easy for
reviewers to test and merge.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46010>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list