[wp-trac] [WordPress Trac] #38928: Default theme content - problem with slugs
WordPress Trac
noreply at wordpress.org
Fri Dec 2 00:24:21 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:
-------------------------------------------------+-------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"39411"]:
{{{
#!CommitTicketReference repository="" revision="39411"
Customize: Reuse existing non-auto-draft posts and existing auto-draft
posts in the customized state with matching slugs when applying starter
content.
* Updates `wp_unique_post_slug()` to ignore `auto-draft` posts. Prevents
publishing multiple posts that have the same slugs from starter content.
* Fixes fatal error when attempting to save an header_image setting from a
non-admin context.
* Fixes substituting attachment symbols in options and theme mods.
* Fixes applying starter content for header images and background images.
See #38114.
Fixes #38928.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38928#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list