diff --git src/wp-includes/class-wp-customize-manager.php src/wp-includes/class-wp-customize-manager.php
index 803a509bf0..c39c689bfb 100644
|
|
final class WP_Customize_Manager { |
893 | 893 | */ |
894 | 894 | public function wp_loaded() { |
895 | 895 | |
| 896 | if ( $this->changeset_post_id() && 'trash' === get_post_status( $this->changeset_post_id() ) ) { |
| 897 | return; |
| 898 | } |
| 899 | |
896 | 900 | // Unconditionally register core types for panels, sections, and controls in case plugin unhooks all customize_register actions. |
897 | 901 | $this->register_panel_type( 'WP_Customize_Panel' ); |
898 | 902 | $this->register_panel_type( 'WP_Customize_Themes_Panel' ); |