Open jnorell opened 5 years ago
Needs add exit;
.
wp_redirect( admin_url( 'post.php?action=edit&post=' . $publishing_id ) );
+ exit;
publish_post()
is will be called from wp-cron
.
So... you should check it only in admin_action_workflow_publish_now()
.
Thanks for the feedback, @rktyt, patch is updated accordingly.
fixes #20