mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 14:05:11 +00:00
* Prevent autoloading an existing draft/future changeset when theme not active. * Add missing notifications container to Themes panel. * Remove deactivation of themes panel when selected status is not publish. * Show notification in Themes panel when themes cannot be previewed and disable preview buttons. * Reject installTheme call when theme preview not available. * Return promise from installTheme and eliminate use of global events in favor of promises. Props westonruter, melchoyce, zoonini. See #37661, #39896. Fixes #42126. Built from https://develop.svn.wordpress.org/trunk@41788 git-svn-id: http://core.svn.wordpress.org/trunk@41622 1a063a9b-81f0-0310-95a4-ce76da25c4cd