Changes between Initial Version and Version 1 of Ticket #52448, comment 2
- Timestamp:
- 02/05/2021 02:11:18 PM (4 years ago)
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 hookis always added before the event is scheduled, and that plugins can remove the action before the event is scheduled.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 action is always added before the event is scheduled, and that plugins can remove the action before the event is scheduled. 2 2 3 3 The 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.