Make WordPress Core

Ticket #35968: 35968.diff

File 35968.diff, 1.2 KB (added by peterwilsoncc, 7 years ago)
  • src/wp-includes/cron.php

    diff --git src/wp-includes/cron.php src/wp-includes/cron.php
    index 8ecb43347f..db3fc51601 100644
    function wp_schedule_event( $timestamp, $recurrence, $hook, $args = array() ) { 
    197197/**
    198198 * Reschedules a recurring event.
    199199 *
     200 * Mainly for internal use, this takes the time stamp of a previously run
     201 * recurring event and reschedules it for its next run.
     202 *
     203 * To change upcoming scheduled events, use {@see wp_schedule_event} to
     204 * change the recurrence frequency.
     205 *
    200206 * @since 2.1.0
    201207 * @since 5.0.0 Return value modified to boolean indicating success or failure,
    202208 *              {@see pre_reschedule_event} filter added to short-circuit the function.
    203209 *
    204  * @param int    $timestamp  Unix timestamp (UTC) for when to next run the event.
     210 * @param int    $timestamp  Unix timestamp (UTC) for when the event was scheduled.
    205211 * @param string $recurrence How often the event should subsequently recur. See wp_get_schedules() for accepted values.
    206212 * @param string $hook       Action hook to execute when the event is run.
    207213 * @param array  $args       Optional. Array containing each separate argument to pass to the hook's callback function.