[wp-trac] [WordPress Trac] #22880: Customize Themes without activation
WordPress Trac
noreply at wordpress.org
Tue Jan 20 00:05:31 UTC 2015
#22880: Customize Themes without activation
-------------------------+------------------------------
Reporter: kkkrys | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui
-------------------------+------------------------------
Comment (by westonruter):
Replying to [comment:5 celloexpressions]:
> I believe (@westonruter, correct me if I'm wrong) that Customizer
transactions (#30937), combined with theme-switching, would enable theme
customizations to be saved without activating that theme, without any UI.
If that happened, we could consider reset UI.
Correct. When loading the Customizer you could also select from
transaction drafts to restore the settings from a previous un-saved
Customizer state.
By the way, I think that the way that theme switch is handled in the
Customizer should be changed. Right now the `theme` gets passed in as a
query parameter in an out-of-band way in relation to the other options
being Customized (e.g. `blogname`). There should be a `theme` setting that
is registered which, when saved, causes the `switch_theme` logic to
happen. This is something I'm considering as an improvement along with
transactions, since it would then allow you to create a transaction in
which the theme is switched, and schedule the transaction for some future
date, allowing the theme switch to be scheduled when the transaction is
“committed”. The `theme` setting should be registered with the
`switch_themes` capability.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22880#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list