diff --git src/wp-includes/class-wp-customize-manager.php src/wp-includes/class-wp-customize-manager.php
index fe22d87a06..5dac5c00ca 100644
|
|
|
final class WP_Customize_Manager { |
| 609 | 609 | * @since 4.9.0 |
| 610 | 610 | */ |
| 611 | 611 | public function establish_loaded_changeset() { |
| | 612 | global $pagenow; |
| | 613 | |
| 612 | 614 | if ( empty( $this->_changeset_uuid ) ) { |
| 613 | 615 | $changeset_uuid = null; |
| 614 | 616 | |
| … |
… |
final class WP_Customize_Manager { |
| 637 | 639 | $this->_changeset_uuid = $changeset_uuid; |
| 638 | 640 | } |
| 639 | 641 | |
| 640 | | $this->set_changeset_lock( $this->changeset_post_id() ); |
| | 642 | if ( is_admin() && 'customize.php' === $pagenow ) { |
| | 643 | $this->set_changeset_lock( $this->changeset_post_id() ); |
| | 644 | } |
| 641 | 645 | } |
| 642 | 646 | |
| 643 | 647 | /** |