Make WordPress Core

Ticket #31401: 31401.patch

File 31401.patch, 1.1 KB (added by stevenlinx, 8 years ago)
  • src/wp-cron.php

    diff --git a/src/wp-cron.php b/src/wp-cron.php
    index 15c6676..25f0c0a 100644
    a b  
    11<?php
    22/**
    3  * WordPress Cron Implementation for hosts, which do not offer CRON or for which
    4  * the user has not set up a CRON job pointing to this file.
     3 * WordPress Cron Implementation for hosts, which acts as a pseudo CRON daemon (for only WP scheduled tasks)
     4 * that is triggered when the website receives a visit.
     5 * You may call this file directly to manually trigger WP Cron to run.
     6 * Calling thie file directly does not affect the visit-trigger method.
     7 *
     8 * To ensure WP Cron runs a minimum of X number of times alongside the visit-trigger method,
     9 * you can manually call this file directly or via server CRON daemon for X number of times.
     10 * You may also leave DISABLE_WP_CRON unset.
     11 *
     12 * To replace WP Cron, set DISABLE_WP_CRON to true and manually call this file directly or via server CRON daemon.
    513 *
    614 * The HTTP request to this file will not slow down the visitor who happens to
    715 * visit when the cron job is needed to run.