Skip to content

Commit

Permalink
Move CRON_CONTROL_WARN_FOR_DEPRECATIONS to out in the open (#4598)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahum authored Jun 15, 2023
1 parent 9da7616 commit 2709a85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cron/cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,8 @@ function vip_schedule_aggregated_cron() {

wp_schedule_event( $timestamp + $offset, 'hourly', 'vip_aggregated_cron_hourly' );
}

// Watch for deprecation usage.
if ( ! defined( 'CRON_CONTROL_WARN_FOR_DEPRECATIONS' ) ) {
define( 'CRON_CONTROL_WARN_FOR_DEPRECATIONS', true );
}

0 comments on commit 2709a85

Please sign in to comment.