Opened 10 years ago
Closed 10 years ago
#38541 closed defect (bug) (fixed)
Allow starter content to apply in a new theme when switching from another theme containing changes
| Reported by: | westonruter | Owned by: | westonruter |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | Customize | Version: | |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | Focuses: |
Description (last modified by )
See #38114. At the moment, starter content is only applied to the customized state if if there is no changeset post existing for the current UUID. However, if I have a fresh site and I preview Twenty Seventeen and then, without activating, I do a theme switch to another theme that has starter content, I should see that theme's starter content merged on top of the previous starter content since the site is still fresh. A complication here is with the auto-draft post/page. The existence of the changeset provided a locking mechanism to prevent these posts from being created repeatedly in a given session. What needs to be done, however, is to ensure that they only get created once for a given theme's imported starter content.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 39241: