publishpress / PublishPress-Future

This plugin was known as "Post Expirator", and now it is called "PublishPress Future".
https://wordpress.org/plugins/post-expirator/
7 stars 11 forks source link

Unschedule scheduled tasks when a workflow is disabled for a post #901

Open andergmartins opened 4 weeks ago

andergmartins commented 4 weeks ago

When a manually enabled workflow has a schedule step, which was manually enabled for a post, then manually disabled later, the scheduled task remains scheduled.

We should unscheduled it, otherwise the workflow will still run for that task.