[wp-trac] [WordPress Trac] #64284: Convert times/multiplication symbol (×) into the letter "x" when sanitizing titles for slugs (was: Disallow Multiplication Symbol in WordPress Titles)

WordPress Trac noreply at wordpress.org
Sat Nov 22 06:19:02 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:
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------
Description changed by westonruter:

Old description:

> We had an issue where user thought they were entering an x (Latin Small
> Letter X (U+0078)) but they were actually entering the multiplication
> symbol (Multiplication Sign (U+00D7)). An "x" did not show up in the slug
> which lead to some issues. Might suggest disallowing Multiplication Sign
> (U+00D7) from titles.

New description:

 We had an issue where user thought they were entering an x (Latin Small
 Letter X (U+0078)) but they were actually entering the multiplication
 symbol (Multiplication Sign (U+00D7)). An "x" did not show up in the slug
 which lead to some issues. ~~Might suggest disallowing Multiplication Sign
 (U+00D7) from titles.~~

 The multiplication symbol can be replaced with "x" automatically when
 sanitizing the title for use in a slug. Core does similarly for dashes
 which get replaced with hyphens via `sanitize_title_with_dashes()`. This
 was touched in the 6.9 release in #64089.

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64284#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list