Scheduled Posts and wp-cron – Why don’t scheduled posts publish if too old?

Question

I notice that the documentation for wp_schedule_single_event mentions the following:-

The action will fire off when someone visits your WordPress site, if the schedule time has passed.

However this does not seem to be true for scheduled posts. I notice that some posts can be missed if wp-cron is not run for a while (not sure of exact timeframe). The post then has the label ‘Missed Schedule’ in the admin panel.

My questions are:-

Is this just for scheduled posts or all scheduled events?

What is the timeframe in which wp-cron must be run before scheduled post are missed?

Where is this timeframe set in the code? I cannot seem to find it in wp-cron.php, cron.php or post.php.

0
, , , user1954882 12 months 0 Answers 80 views 0

Leave an answer