[wp-trac] [WordPress Trac] #38928: Default theme content - problem with slugs

WordPress Trac noreply at wordpress.org
Mon Nov 28 23:43:26 UTC 2016


#38928: Default theme content - problem with slugs
--------------------------+--------------------------
 Reporter:  pavelevap     |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.7
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by westonruter):

 And actually I think `wp_unique_post_slug()` should include the
 `post_type` in the query since it is fine for posts of different types to
 have the same slug, right?

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


More information about the wp-trac mailing list