Plugin is changing posts to “Pending Review” status
-
Hi, looks like the plugin has a critical logic flaw.
The plugin is changing posts to “Pending Review” status as soon as the hourly cron job runs, regardless of whether the scheduled unpublish date has actually been reached. So if you set an unpublish date for next week or next month, the plugin will still unpublish your posts within an hour.
get_posts_to_unpublish() method checks if posts have an unpublish date set, but it never actually compares that date to the current time. It simply unpublishes ALL posts that have ANY unpublish date value, no matter how far in the future that date is.
You must be logged in to reply to this topic.