WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #51816


Ignore:
Timestamp:
11/18/2020 03:01:33 PM (7 months ago)
Author:
TimothyBlynJacobs
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51816 – Description

    initial v2  
    1111One way to do this would be in `WP_Recovery_Mode::handle_error` to check `wp_doing_cron()` and if so to trigger another `spawn_cron` but with a recovery mode token appended that could only be utilized when `wp_doing_cron()`. That way it wouldn't be exposed if a site was using the alternate cron setup.
    1212
    13 This wouldn't work for setups that are using an alternate cron runner, or using WP CLI to trigger cron jobs. But I think it would be possible to make work for users who are pinging `wp-cron.php` manually.
     13This wouldn't work for setups that are using a custom cron runner, or using WP CLI to trigger cron jobs. But I think it would be possible to make work for users who are pinging `wp-cron.php` manually.