[wp-trac] [WordPress Trac] #47532: Multiple dashes in post slugs where title contains a dash surrounded by spaces

WordPress Trac noreply at wordpress.org
Fri Jun 14 00:02:47 UTC 2019


#47532: Multiple dashes in post slugs where title contains a dash surrounded by
spaces
--------------------------+-------------------------
 Reporter:  andizer       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:  javascript
--------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 It's the same issue as in #45478 and #46088.

 The slug is generated client side, which doesn't have an equivalent of
 `sanitize_title()`.

 Going to close in favour of GB12907, as it needs to be handled in the
 block editor JS.

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


More information about the wp-trac mailing list