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

WordPress Trac noreply at wordpress.org
Mon Feb 29 04:41:06 UTC 2016


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

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36775"]:
 {{{
 #!CommitTicketReference repository="" revision="36775"
 Formatting: In `sanitize_title_with_dashes()`, convert `&nbsp`, `&ndash`,
 and `&mdash` HTML entities to hyphens on save.

 Props polevaultweb for initial patch.
 Fixes #31790.
 }}}

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


More information about the wp-trac mailing list