Ticket #42395: 42395.diff
File 42395.diff, 811 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/class-wp-customize-manager.php
1175 1175 1176 1176 $changeset_data = array(); 1177 1177 if ( $this->changeset_post_id() ) { 1178 /* 1179 * Don't re-import starter content into a previously saved changeset. 1180 * 1181 * When theme switches can be drafted or scheduled, this condition 1182 * might also need to check whether the theme is active or "pending." 1183 */ 1184 if ( ( 'auto-draft' !== get_post_status( $this->changeset_post_id() ) ) && $this->is_theme_active() ) { 1185 return; 1186 } 1187 1178 1188 $changeset_data = $this->get_changeset_post_data( $this->changeset_post_id() ); 1179 1189 } 1180 1190