Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52448, comment 2


Ignore:
Timestamp:
02/05/2021 02:11:18 PM (4 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52448, comment 2

    initial v1  
    1 Core _could_ check for the existence of an action on the `wp_scheduled_delete` hook before scheduling the event, we'd need to confirm that the default hook is always added before the event is scheduled, and that plugins can remove the action before the event is scheduled.
     1Core _could_ check for the existence of an action on the `wp_scheduled_delete` hook before scheduling the event, we'd need to confirm that the default action is always added before the event is scheduled, and that plugins can remove the action before the event is scheduled.
    22
    33The reason WP Crontrol warns about events with no action is because it helps guard against typos, actions that have unexpectedly gone missing, etc. It's not really a problem to have a cron event with no action, it's just useless.