We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29c3d91 commit fe417ebCopy full SHA for fe417eb
1 file changed
includes/push-ui.php
@@ -157,8 +157,8 @@ function ajax_push() {
157
$push_args['remote_post_id'] = (int) $connection_map['internal'][ (int) $connection['id'] ]['post_id'];
158
}
159
160
- if ( ! empty( $_POST['post_status'] ) ) {
161
- $push_args['post_status'] = $_POST['post_status'];
+ if ( ! empty( $_POST['draft'] ) ) {
+ $push_args['post_status'] = 'draft';
162
163
164
$remote_id = $internal_connection->push( intval( $_POST['post_id'] ), $push_args );
0 commit comments