[wp-trac] [WordPress Trac] #44958: &nbsp character in title generates a permalink (and slug) with space

WordPress Trac noreply at wordpress.org
Tue Sep 18 04:05:45 UTC 2018


#44958: &nbsp character in title generates a permalink (and slug) with space
---------------------------------------------+-----------------------------
 Reporter:  ace2_heart                       |       Owner:  (none)
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  normal                           |   Milestone:  Awaiting
                                             |  Review
Component:  Permalinks                       |     Version:  4.8
 Severity:  major                            |  Resolution:
 Keywords:  needs-testing reporter-feedback  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Hi @ace2_heart, thanks for the ticket!

 ` ` is supposed to be converted to a hyphen by [source:tags/4.9.8/src
 /wp-includes/formatting.php?marks=2001,2002#L1980
 sanitize_title_with_dashes()].

 Are you sure the issue still happens on a clean install with all plugins
 disabled and a default theme (Twenty Seventeen) activated?

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


More information about the wp-trac mailing list