Ticket #45445: 45445.diff
File 45445.diff, 4.4 KB (added by , 2 years ago) |
---|
-
src/wp-includes/cron.php
22 22 * 23 23 * @since 2.1.0 24 24 * @since 5.0.0 Return value modified to boolean indicating success or failure, 25 * {@see pre_schedule_event} filter added to short-circuit the function.25 * {@see 'pre_schedule_event'} filter added to short-circuit the function. 26 26 * 27 27 * @link https://codex.wordpress.org/Function_Reference/wp_schedule_single_event 28 28 * … … 52 52 * 53 53 * Both single events and recurring events are passed through this filter; 54 54 * single events have `$event->schedule` as false, whereas recurring events 55 * have this set to a recurrence from {@see wp_get_schedules}. Recurring55 * have this set to a recurrence from wp_get_schedules(). Recurring 56 56 * events also have the integer recurrence interval set as `$event->interval`. 57 57 * 58 58 * For plugins replacing wp-cron, it is recommended you check for an 59 * identical event within ten minutes and apply the {@see schedule_event}59 * identical event within ten minutes and apply the {@see 'schedule_event'} 60 60 * filter to check if another plugin has disallowed the event before scheduling. 61 61 * 62 62 * Return true if the event was scheduled, false if not. … … 138 138 * 139 139 * @since 2.1.0 140 140 * @since 5.0.0 Return value modified to boolean indicating success or failure, 141 * {@see pre_schedule_event} filter added to short-circuit the function.141 * {@see 'pre_schedule_event'} filter added to short-circuit the function. 142 142 * 143 143 * @link https://codex.wordpress.org/Function_Reference/wp_schedule_event 144 144 * … … 200 200 * Mainly for internal use, this takes the time stamp of a previously run 201 201 * recurring event and reschedules it for its next run. 202 202 * 203 * To change upcoming scheduled events, use {@see wp_schedule_event}to203 * To change upcoming scheduled events, use wp_schedule_event() to 204 204 * change the recurrence frequency. 205 205 * 206 206 * @since 2.1.0 207 207 * @since 5.0.0 Return value modified to boolean indicating success or failure, 208 * {@see pre_reschedule_event} filter added to short-circuit the function.208 * {@see 'pre_reschedule_event'} filter added to short-circuit the function. 209 209 * 210 210 * @param int $timestamp Unix timestamp (UTC) for when the event was scheduled. 211 211 * @param string $recurrence How often the event should subsequently recur. See wp_get_schedules() for accepted values. … … 294 294 * 295 295 * @since 2.1.0 296 296 * @since 5.0.0 Return value modified to boolean indicating success or failure, 297 * {@see pre_unschedule_event} filter added to short-circuit the function.297 * {@see 'pre_unschedule_event'} filter added to short-circuit the function. 298 298 * 299 299 * @param int $timestamp Unix timestamp (UTC) of the event. 300 300 * @param string $hook Action hook of the event. … … 352 352 * 353 353 * @since 2.1.0 354 354 * @since 5.0.0 Return value modified to indicate success or failure, 355 * {@see pre_clear_scheduled_hook} filter added to short-circuit the function.355 * {@see 'pre_clear_scheduled_hook'} filter added to short-circuit the function. 356 356 * 357 357 * @param string $hook Action hook, the execution of which will be unscheduled. 358 358 * @param array $args Optional. Arguments that were to be passed to the hook's callback function. … … 551 551 * Retrieve the next timestamp for an event. 552 552 * 553 553 * @since 2.1.0 554 * @since 5.0.0 {@see pre_next_scheduled} and {@see next_scheduled} filters added.554 * @since 5.0.0 {@see 'pre_next_scheduled'} and {@see 'next_scheduled'} filters added. 555 555 * 556 556 * @param string $hook Action hook of the event. 557 557 * @param array $args Optional. Array containing each separate argument to pass to the hook's callback function. … … 828 828 * @see wp_get_schedules() for available schedules. 829 829 * 830 830 * @since 2.1.0 831 * @since 5.0.0 {@see get_schedule} filter added.831 * @since 5.0.0 {@see 'get_schedule'} filter added. 832 832 * 833 833 * @param string $hook Action hook to identify the event. 834 834 * @param array $args Optional. Arguments passed to the event's callback function. … … 885 885 * Updates the CRON option with the new CRON array. 886 886 * 887 887 * @since 2.1.0 888 * @since 5.0.0 Return value modified to outcome of {@see update_option}.888 * @since 5.0.0 Return value modified to outcome of update_option(). 889 889 * 890 890 * @access private 891 891 *