[wp-trac] [WordPress Trac] #49961: Expose the reason for failures that occur within WP-Cron functions

WordPress Trac noreply at wordpress.org
Mon Feb 1 22:17:41 UTC 2021


#49961: Expose the reason for failures that occur within WP-Cron functions
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.7
Component:  Cron API                             |     Version:  5.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback needs-dev-note                        |
-------------------------------------------------+-------------------------

Comment (by johnbillion):

 Okay false alarm. We're all good. Only WP-Optimize needs an update for its
 back-compat function.

 === [https://wpdirectory.net/search/01EXFRDH9D7NAYHN949EGYD9NW
 pre_schedule_event]

 * https://wordpress.org/plugins/gdpress/ - no problem

 === [https://wpdirectory.net/search/01EXFSJC2SZFJDD5H4QZ1BZAGQ
 pre_reschedule_event]

 * No plugins affected

 === [https://wpdirectory.net/search/01EXFSKQ97YRPW89VEV68T8Y6K
 pre_unschedule_event]

 * https://wordpress.org/plugins/wp-crontrol/ - no problem

 === [https://wpdirectory.net/search/01EXFSPPJ9M9JEVVW2P9BAZ550
 pre_clear_scheduled_hook]

 * No plugins affected

 === [https://wpdirectory.net/search/01EXFSSZRNQNBSW6WWVBQKD6TZ
 pre_unschedule_hook]

 * https://wordpress.org/plugins/wp-optimize/ - Conditionally defines
 `wp_unschedule_hook()` if it doesn't exist. Will need to be updated with
 the new function signature.

 ----

 In addition I checked [https://github.com/humanmade/Cavalcade Cavalcade],
 [https://github.com/Automattic/Cron-Control Cron Control],
 [https://github.com/woocommerce/action-scheduler Action Scheduler], and
 [https://github.com/deliciousbrains/wp-background-processing WP Background
 Processing]. Cavalcade will gracefully handle a `WP_Error` in all the
 `$pre` parameters with no change, and the others don't use the affected
 filters.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49961#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list