mirror of
git://develop.git.wordpress.org/
synced 2025-02-11 18:41:37 +01:00
Weston Ruter
c7cb694732
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. git-svn-id: https://develop.svn.wordpress.org/trunk@42113 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.1%
SCSS
0.9%
HTML
0.7%