[wp-trac] [WordPress Trac] #40146: Starter content can be silently published with other themes
WordPress Trac
noreply at wordpress.org
Thu Aug 10 03:11:03 UTC 2017
#40146: Starter content can be silently published with other themes
--------------------------+-----------------------------
Reporter: dlh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Comment (by dlh):
I'm not sure that using the theme slug is going to be sufficient, or at
least not in all cases. The primary reason is that some values in the
changeset are shared among themes, such as `nav_menus_created_posts`.
[attachment:40146.2.diff] is attempt to make the `starter_content` flag
into an array with `'themeslug' => true`, but I suspect the direction of
the patch as written is a dead end. There are a lot of self-inflicted
annoyances, and themes can still overwrite other themes' settings.
I'm planning to start fresh, having learned a few lessons from the patch.
If it inspires any other ideas, I'm definitely open to them.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40146#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list