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

WordPress Trac noreply at wordpress.org
Mon Dec 5 19:32:11 UTC 2016


#38928: Default theme content - problem with slugs
-------------------------------------------------+-------------------------
 Reporter:  pavelevap                            |       Owner:
     Type:  defect (bug)                         |  westonruter
 Priority:  normal                               |      Status:  closed
Component:  Customize                            |   Milestone:  4.7
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-patch needs-testing has-unit-    |  Resolution:  fixed
  tests commit dev-reviewed                      |     Focuses:
-------------------------------------------------+-------------------------

Comment (by westonruter):

 In [changeset:"39506"]:
 {{{
 #!CommitTicketReference repository="" revision="39506"
 Customize: Defer populating `post_name` for `auto-draft` posts in
 customized state until posts are published.

 The ultimate `post_name` is stored in postmeta until the post is
 published. The `get_page_by_path()` function does not exclude `auto-draft`
 posts. Revert changes to `wp_unique_post_slug()` from [39411] which
 excluded `auto-draft` posts.

 Props westonruter, dlh for testing, helen for testing.
 See #38114, #38928.
 Fixes #39078.
 }}}

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


More information about the wp-trac mailing list