Make WordPress Core

Changeset 44324 for trunk


Ignore:
Timestamp:
12/19/2018 03:40:18 AM (6 years ago)
Author:
desrosj
Message:

Docs: Correct inline documentation versions.

[43050] updated the Cron API to return values indicating success or failure when called.

At the time, these changes were slated for 5.0, but have since been moved to the 5.1 release. This updates the inline documentation to reflect that.

Fixes #21072.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/cron.php

    r43608 r44324  
    2222 *
    2323 * @since 2.1.0
    24  * @since 5.0.0 Return value modified to boolean indicating success or failure,
     24 * @since 5.1.0 Return value modified to boolean indicating success or failure,
    2525 *              {@see pre_schedule_event} filter added to short-circuit the function.
    2626 *
     
    138138 *
    139139 * @since 2.1.0
    140  * @since 5.0.0 Return value modified to boolean indicating success or failure,
     140 * @since 5.1.0 Return value modified to boolean indicating success or failure,
    141141 *              {@see pre_schedule_event} filter added to short-circuit the function.
    142142 *
     
    205205 *
    206206 * @since 2.1.0
    207  * @since 5.0.0 Return value modified to boolean indicating success or failure,
     207 * @since 5.1.0 Return value modified to boolean indicating success or failure,
    208208 *              {@see pre_reschedule_event} filter added to short-circuit the function.
    209209 *
     
    294294 *
    295295 * @since 2.1.0
    296  * @since 5.0.0 Return value modified to boolean indicating success or failure,
     296 * @since 5.1.0 Return value modified to boolean indicating success or failure,
    297297 *              {@see pre_unschedule_event} filter added to short-circuit the function.
    298298 *
     
    352352 *
    353353 * @since 2.1.0
    354  * @since 5.0.0 Return value modified to indicate success or failure,
     354 * @since 5.1.0 Return value modified to indicate success or failure,
    355355 *              {@see pre_clear_scheduled_hook} filter added to short-circuit the function.
    356356 *
     
    422422 *
    423423 * @since 4.9.0
    424  * @since 5.0.0 Return value added to indicate success or failure.
     424 * @since 5.1.0 Return value added to indicate success or failure.
    425425 *
    426426 * @param string $hook Action hook, the execution of which will be unscheduled.
     
    609609 *
    610610 * @since 2.1.0
    611  * @since 5.0.0 Return values added.
     611 * @since 5.1.0 Return values added.
    612612 *
    613613 * @param int $gmt_time Optional. Unix timestamp (UTC). Default 0 (current time is used).
     
    726726 *
    727727 * @since 2.1.0
    728  * @since 5.0.0 Return value added to indicate success or failure.
     728 * @since 5.1.0 Return value added to indicate success or failure.
    729729 *
    730730 * @return bool|int On success an integer indicating number of events spawned (0 indicates no
     
    886886 *
    887887 * @since 2.1.0
    888  * @since 5.0.0 Return value modified to outcome of {@see update_option}.
     888 * @since 5.1.0 Return value modified to outcome of {@see update_option}.
    889889 *
    890890 * @access private
Note: See TracChangeset for help on using the changeset viewer.