[wp-trac] [WordPress Trac] #45478: Post slug contains Vietnamese characters

WordPress Trac noreply at wordpress.org
Wed Dec 12 12:19:26 UTC 2018


#45478: Post slug contains Vietnamese characters
------------------------------------------+-----------------------------
 Reporter:  phamquangbaoplus              |       Owner:  SergeyBiryukov
     Type:  enhancement                   |      Status:  accepted
 Priority:  normal                        |   Milestone:  5.0.1
Component:  Permalinks                    |     Version:  5.0
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 To clarify a bit more, it looks like `sanitize_title()` does not run until
 publishing.


 А post titled `Hello, world!` shows `hello,-world!` in the previewed
 permalink, see [attachment:"45478.png"].

 After publishing, the actual slug was `hello-world-2`, because it was a
 second post with that title.

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


More information about the wp-trac mailing list