[wp-trac] [WordPress Trac] #53910: `sanitize_title_with_dashes` returns partial encoded values in permalink
WordPress Trac
noreply at wordpress.org
Tue Aug 10 22:10:16 UTC 2021
#53910: `sanitize_title_with_dashes` returns partial encoded values in permalink
--------------------------+--------------------------------------
Reporter: costdev | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 5.8
Severity: major | Resolution:
Keywords: needs-patch | Focuses: ui, rtl, administration
--------------------------+--------------------------------------
Changes (by audrasjb):
* keywords: => needs-patch
Comment:
Thanks for opening this ticket, @costdev !
> - Trimming the $title to 200 at the end of the
sanitize_title_with_dashes instead.
Looks like the easier option here. With such a length, I don't see how it
could hurt to cut off titles with more than 200 characters when performing
the url sanitization.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53910#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list