WordPress.org

Make WordPress Core

Ticket #22143: 22143.diff

File 22143.diff, 455 bytes (added by batmoo, 6 years ago)
  • wp-cron.php

     
    9090                        wp_unschedule_event( $timestamp, $hook, $v['args'] );
    9191
    9292                        do_action_ref_array( $hook, $v['args'] );
     93                        do_action( 'did_cron', $hook, $timestamp, $v );
    9394
    9495                        // If the hook ran too long and another cron process stole the lock, quit.
    9596                        if ( _get_cron_lock() != $doing_wp_cron )