[wp-trac] [WordPress Trac] #42406: Customize: Can't switch back to active theme once changeset is saved

WordPress Trac noreply at wordpress.org
Fri Nov 3 00:58:33 UTC 2017


#42406: Customize: Can't switch back to active theme once changeset is saved
-------------------------------------------+--------------------------
 Reporter:  dlh                            |       Owner:  westonruter
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  4.9
Component:  Customize                      |     Version:  trunk
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:
-------------------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 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/42406#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list