helsingborg-stad / content-scheduler

Schedule posts in WordPress (publish/unpublish on date/time)
MIT License
2 stars 3 forks source link

fix: resolves issue where parent post where unscheduled with a module #11

Closed sebastianthulin closed 3 months ago

sebastianthulin commented 5 months ago

Updated scheduling of post unpublishing based on user-defined settings, including time and action (trash or draft). This resolves an issue where multiple posts where schedule for unpublication when a module was saved. This was due to the fact that we never verfied the post id according to the requested action.

pbrotherton commented 4 months ago

This has been tested (on the dev-whitespace branch). Unfortunately it hasn't helped, when a single module is unpublished the entire page is still trashed in the process. It might be worth you testing on the main branch, but we are unable to get a functional deploy from that due to other constraints/dependencies.