Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit 868b6b5

Browse files
committed
Send title and state query vars regardless of status
1 parent 31c6ff6 commit 868b6b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

js/customize-snapshots.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@
3333
api.control( 'changeset_scheduled_date', snapshot.setupScheduledChangesetCountdown );
3434

3535
api.bind( 'save-request-params', function( data ) {
36-
if ( api.state( 'selectedChangesetStatus' ) && 'publish' !== api.state( 'selectedChangesetStatus' ) ) {
37-
data.customizer_state_query_vars = JSON.stringify( snapshot.getStateQueryVars() );
38-
data.customize_changeset_title = api.state( 'changesetTitle' );
39-
}
36+
data.customizer_state_query_vars = JSON.stringify( snapshot.getStateQueryVars() );
37+
data.customize_changeset_title = api.state( 'changesetTitle' );
4038
} );
4139

4240
api.state.bind( 'change', function() {

0 commit comments

Comments
 (0)