[wp-trac] [WordPress Trac] #39896: Customizer: Allow users to Draft changes before Publishing
WordPress Trac
noreply at wordpress.org
Fri Nov 3 00:58:27 UTC 2017
#39896: Customizer: Allow users to Draft changes before Publishing
-------------------------------------------------+-------------------------
Reporter: melchoyce | Owner:
Type: enhancement | westonruter
Priority: high | Status: closed
Component: Customize | Milestone: 4.9
Severity: normal | Version:
Keywords: has-patch needs-testing needs-unit- | Resolution: fixed
tests ui-feedback needs-dev-note | Focuses: ui
-------------------------------------------------+-------------------------
Comment (by westonruter):
In [changeset:"42113"]:
{{{
#!CommitTicketReference repository="" revision="42113"
Customize: Make sure theme switch blocking in the Customizer is
consistently applied when changeset is drafted/scheduled.
* Consider both `selectedChangesetStatus` and `changesetStatus` states
when deciding to disable.
* Factor out common logic into `canSwitchTheme` function on `ThemesPanel`.
* Keep Live Preview and Install buttons disabled in Themes controls and
detail overlays when appropriate.
Props westonruter, dlh.
Amends [41788].
See #42126, #37661, #39896.
Fixes #42406.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39896#comment:126>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list