[wp-trac] [WordPress Trac] #42126: Customize: Fix confusion related to visibility of Themes panel and drafted/scheduled changesets

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


#42126: Customize: Fix confusion related to visibility of Themes panel and
drafted/scheduled changesets
--------------------------+--------------------------
 Reporter:  westonruter   |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

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


More information about the wp-trac mailing list