[wp-trac] [WordPress Trac] #64284: Convert times/multiplication symbol (×) into the letter "x" when sanitizing titles for slugs
WordPress Trac
noreply at wordpress.org
Wed Nov 26 09:26:35 UTC 2025
#64284: Convert times/multiplication symbol (×) into the letter "x" when sanitizing
titles for slugs
--------------------------+---------------------
Reporter: archmaster7 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: Formatting | Version: trunk
Severity: minor | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by iflairwebtechnologies):
* keywords: needs-patch => has-patch
* version: => trunk
Comment:
Hi
This patch resolves issue #64284, where the multiplication symbol (×)
wasn't being replaced with the letter "x" when sanitizing titles for
slugs.
The patch adds a line in the `sanitize_title_with_dashes` function to
replace the multiplication sign (×) with "x" directly, as well as its
encoded form (%c3%97).
Please review the patch and let me know if any changes are required.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64284#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list