[wp-trac] [WordPress Trac] #64089: Post titles containing non-breaking hyphens are not sanitized
WordPress Trac
noreply at wordpress.org
Sat Oct 25 18:22:23 UTC 2025
#64089: Post titles containing non-breaking hyphens are not sanitized
--------------------------------------+--------------------------
Reporter: patpiwo | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Formatting | Version: 4.5
Severity: trivial | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+--------------------------
Changes (by westonruter):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"61061" 61061]:
{{{
#!CommitTicketReference repository="" revision="61061"
Formatting: Replace non-breaking hyphens (U+2011) with hyphens in
`sanitize_title_with_dashes()`.
Developed in https://github.com/WordPress/wordpress-develop/pull/10204
Follow-up to [18705], [36775].
Props patpiwo, westonruter, dmsnell.
See #31790, #10797.
Fixes #64089.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64089#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list