WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/20/2017 04:36:39 AM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Improve the usefulness and accuracy of the file header for wp-cron.php.

Props stevenlinx for the initial patch.
Fixes #31401.

File:
1 edited

Legend:

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

    r41146 r41276  
    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 * A pseudo-CRON daemon for scheduling WordPress tasks
     4 *
     5 * WP Cron is triggered when the site receives a visit. In the scenario
     6 * where a site may not receive enough visits to execute scheduled tasks
     7 * in a timely manner, this file can be called directly or via a server
     8 * CRON daemon for X number of times.
     9 *
     10 * Defining DISABLE_WP_CRON as true and calling this file directly are
     11 * mutually exclusive and the latter does not rely on the former to work.
    512 *
    613 * The HTTP request to this file will not slow down the visitor who happens to
Note: See TracChangeset for help on using the changeset viewer.