Make WordPress Core


Ignore:
Timestamp:
11/23/2021 09:35:57 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections and improvements.

See #53399

File:
1 edited

Legend:

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

    r51955 r52236  
    11141114 * @since 5.1.0
    11151115 *
    1116  * @return array Cron jobs ready to be run.
     1116 * @return array[] Array of cron job arrays ready to be run.
    11171117 */
    11181118function wp_get_ready_cron_jobs() {
     
    11251125     * @since 5.1.0
    11261126     *
    1127      * @param null|array $pre Array of ready cron tasks to return instead. Default null
    1128      *                        to continue using results from _get_cron_array().
     1127     * @param null|array[] $pre Array of ready cron tasks to return instead. Default null
     1128     *                          to continue using results from _get_cron_array().
    11291129     */
    11301130    $pre = apply_filters( 'pre_get_ready_cron_jobs', null );
     
    11651165 * @access private
    11661166 *
    1167  * @return array|false Cron info array on success, false on failure.
     1167 * @return array[]|false Array of cron info arrays on success, false on failure.
    11681168 */
    11691169function _get_cron_array() {
     
    11911191 * @access private
    11921192 *
    1193  * @param array $cron     Cron info array from _get_cron_array().
    1194  * @param bool  $wp_error Optional. Whether to return a WP_Error on failure. Default false.
     1193 * @param array[] $cron     Array of cron info arrays from _get_cron_array().
     1194 * @param bool    $wp_error Optional. Whether to return a WP_Error on failure. Default false.
    11951195 * @return bool|WP_Error True if cron array updated. False or WP_Error on failure.
    11961196 */
Note: See TracChangeset for help on using the changeset viewer.