[wp-trac] [WordPress Trac] #47988: Unexpected behaviour when draft post has the same page_name as published post

WordPress Trac noreply at wordpress.org
Fri Sep 6 02:51:57 UTC 2019


#47988: Unexpected behaviour when draft post has the same page_name as published
post
--------------------------+------------------------------
 Reporter:  ajfleming     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by ajfleming):

 * Attachment "47988-20190906-1249.diff" added.

 A possible solution would `wp_unique_post_slug()` returning an empty
 string for draft posts instead of the passed value.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47988>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list