diff --git a/wp-includes/cron.php b/wp-includes/cron.php index 19b0fc7365..1666a09b27 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -398,7 +398,7 @@ function wp_reschedule_event( $timestamp, $recurrence, $hook, $args = array(), $ * } * @param bool $wp_error Whether to return a WP_Error on failure. */ - $pre = apply_filters( 'pre_reschedule_event', null, $event ); + $pre = apply_filters( 'pre_reschedule_event', null, $event, $wp_error ); if ( null !== $pre ) { if ( $wp_error && false === $pre ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index b52c139d92..25e11d2e4d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta3-50393'; +$wp_version = '5.7-beta3-50394'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.