[wp-trac] [WordPress Trac] #31790: sanitize_title_with_dashes() has issues with non breaking space (  and   )

WordPress Trac noreply at wordpress.org
Sat Oct 25 18:22:24 UTC 2025


#31790: sanitize_title_with_dashes() has issues with non breaking space (  and
 )
-------------------------------------------------+-------------------------
 Reporter:  michelski                            |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.5
Component:  Formatting                           |     Version:  4.1.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  refresh needs-testing                          |
-------------------------------------------------+-------------------------

Comment (by westonruter):

 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/31790#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list