diff --git a/wp-includes/cron.php b/wp-includes/cron.php
index 19b0fc7365..2736e1ea1e 100644
a
|
b
|
function wp_reschedule_event( $timestamp, $recurrence, $hook, $args = array(), $ |
396 | 396 | * @type array $args Array containing each separate argument to pass to the hook's callback function. |
397 | 397 | * @type int $interval The interval time in seconds for the schedule. Only present for recurring events. |
398 | 398 | * } |
399 | | * @param bool $wp_error Whether to return a WP_Error on failure. |
| 399 | * @param bool $wp_error Whether to return a WP_Error on failure. |
400 | 400 | */ |
401 | | $pre = apply_filters( 'pre_reschedule_event', null, $event ); |
| 401 | $pre = apply_filters( 'pre_reschedule_event', null, $event, $wp_error ); |
402 | 402 | |
403 | 403 | if ( null !== $pre ) { |
404 | 404 | if ( $wp_error && false === $pre ) { |