Make WordPress Core

Ticket #20537: 20537-with-filter-refreshed.patch

File 20537-with-filter-refreshed.patch, 1.1 KB (added by jrf, 8 years ago)

Updated docblocks

  • src/wp-includes/cron.php

    From 7f9203ba1ba322b6cbb58cde623484835f26548b Mon Sep 17 00:00:00 2001
    From: jrfnl <github_nospam@adviesenzo.nl>
    Date: Sun, 28 Feb 2016 03:07:13 +0100
    Subject: [PATCH] Updated docblocks for feedback from slack
    
    ---
     src/wp-includes/cron.php | 4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/src/wp-includes/cron.php b/src/wp-includes/cron.php
    index 5371166..d52b91b 100644
    a b function spawn_cron( $gmt_time = 0 ) { 
    333333 * Run scheduled callbacks or spawn cron for all scheduled events.
    334334 *
    335335 * @since 2.1.0
     336 *
     337 * @global object $current_blog
    336338 */
    337339function wp_cron() {
    338340        global $current_blog;
    function wp_cron() { 
    354356        /**
    355357         * Allow to either force skip a cron run or to force cron to run even for suspended blogs.
    356358         *
     359         * @since 4.5.0
     360         *
    357361         * @param bool        $should_skip  Whether the cron run is going to be skipped.
    358362         *                                  Will be `false` for single-site or non-suspended multi-site blogs
    359363         *                                  or `true` for suspended blogs.