Docs: Correct inline documentation versions for Cron API changes.

[43540] introduced changes to allow hijacking the cron implementation.

These changes were slated for 5.0, but have since been moved to the 5.1 release.

See #43540.


Built from https://develop.svn.wordpress.org/trunk@44375


git-svn-id: http://core.svn.wordpress.org/trunk@44205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2018-12-30 05:06:48 +00:00
parent 4ae9b553c5
commit b1c340ef5d
2 changed files with 13 additions and 13 deletions

View File

@ -61,7 +61,7 @@ function wp_schedule_single_event( $timestamp, $hook, $args = array() ) {
*
* Return true if the event was scheduled, false if not.
*
* @since 5.0.0
* @since 5.1.0
*
* @param null|bool $pre Value to return instead. Default null to continue adding the event.
* @param stdClass $event {
@ -252,7 +252,7 @@ function wp_reschedule_event( $timestamp, $recurrence, $hook, $args = array() )
* For plugins replacing wp-cron, return true if the event was successfully
* rescheduled, false if not.
*
* @since 5.0.0
* @since 5.1.0
*
* @param null|bool $pre Value to return instead. Default null to continue adding the event.
* @param stdClass $event {
@ -318,7 +318,7 @@ function wp_unschedule_event( $timestamp, $hook, $args = array() ) {
* For plugins replacing wp-cron, return true if the event was successfully
* unscheduled, false if not.
*
* @since 5.0.0
* @since 5.1.0
*
* @param null|bool $pre Value to return instead. Default null to continue unscheduling the event.
* @param int $timestamp Timestamp for when to run the event.
@ -378,7 +378,7 @@ function wp_clear_scheduled_hook( $hook, $args = array() ) {
* unscheduled (zero if no events were registered with the hook) or false
* if unscheduling one or more events fails.
*
* @since 5.0.0
* @since 5.1.0
*
* @param null|array $pre Value to return instead. Default null to continue unscheduling the event.
* @param string $hook Action hook, the execution of which will be unscheduled.
@ -438,7 +438,7 @@ function wp_unschedule_hook( $hook ) {
* unscheduled (zero if no events were registered with the hook) or false
* if unscheduling one or more events fails.
*
* @since 5.0.0
* @since 5.1.0
*
* @param null|array $pre Value to return instead. Default null to continue unscheduling the hook.
* @param string $hook Action hook, the execution of which will be unscheduled.
@ -483,7 +483,7 @@ function wp_unschedule_hook( $hook ) {
*
* Retrieve the full event object for a given event.
*
* @since 5.0.0
* @since 5.1.0
*
* @param string $hook Action hook of the event.
* @param array $args Optional. Array containing each separate argument to pass to the hook's callback function.
@ -507,7 +507,7 @@ function wp_get_scheduled_event( $hook, $args = array(), $timestamp = null ) {
* Return false if the event does not exist, otherwise an event object
* should be returned.
*
* @since 5.0.0
* @since 5.1.0
*
* @param null|bool $pre Value to return instead. Default null to continue retrieving the event.
* @param string $hook Action hook of the event.
@ -551,7 +551,7 @@ function wp_get_scheduled_event( $hook, $args = array(), $timestamp = null ) {
* Retrieve the next timestamp for an event.
*
* @since 2.1.0
* @since 5.0.0 {@see 'pre_next_scheduled'} and {@see 'next_scheduled'} filters added.
* @since 5.1.0 {@see 'pre_next_scheduled'} and {@see 'next_scheduled'} filters added.
*
* @param string $hook Action hook of the event.
* @param array $args Optional. Array containing each separate argument to pass to the hook's callback function.
@ -568,7 +568,7 @@ function wp_next_scheduled( $hook, $args = array() ) {
*
* Pass the timestamp of the next event if it exists, false if not.
*
* @since 5.0.0
* @since 5.1.0
*
* @param null|bool $pre Value to return instead. Default null to continue unscheduling the event.
* @param string $hook Action hook of the event.
@ -595,7 +595,7 @@ function wp_next_scheduled( $hook, $args = array() ) {
/**
* Filter the next scheduled event timestamp.
*
* @since 5.0.0
* @since 5.1.0
*
* @param int|bool $next The UNIX timestamp when the scheduled event will next occur, or false if not found.
* @param string $hook Action hook to execute when cron is run.
@ -828,7 +828,7 @@ function wp_get_schedules() {
* @see wp_get_schedules() for available schedules.
*
* @since 2.1.0
* @since 5.0.0 {@see 'get_schedule'} filter added.
* @since 5.1.0 {@see 'get_schedule'} filter added.
*
* @param string $hook Action hook to identify the event.
* @param array $args Optional. Arguments passed to the event's callback function.
@ -845,7 +845,7 @@ function wp_get_schedule( $hook, $args = array() ) {
/**
* Filter the schedule for a hook.
*
* @since 5.0.0
* @since 5.1.0
*
* @param string|bool $schedule Schedule for the hook. False if not found.
* @param string $hook Action hook to execute when cron is run.

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-alpha-44374';
$wp_version = '5.1-alpha-44375';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.