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

WordPress Trac noreply at wordpress.org
Tue Dec 23 14:19:47 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:  changes-requested has-patch has-     |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------

Comment (by abcd95):

 Since there has been some time since the last activity on this ticket, I
 took the liberty of raising a PR for better collaboration and added
 comprehensive unit tests to cover the complete behavior with an enhanced
 patch.


 - Replaced ×, ×, and × with 'x' before URL encoding (as
 suggested by @westonruter)
 - Added test methods covering all forms and contexts

 Please take a look and let me know if it looks good.

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


More information about the wp-trac mailing list