Make WordPress Core

Changeset 7991 for trunk/wp-cron.php


Ignore:
Timestamp:
05/25/2008 03:50:15 PM (16 years ago)
Author:
ryan
Message:

File file level phpdoc from jacobsantos. see #7037

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-cron.php

    r7971 r7991  
    11<?php
     2/**
     3 * WordPress Cron Implementation for hosts, which do not offer CRON or for which
     4 * the user has not setup a CRON job pointing to this file.
     5 *
     6 * The HTTP request to this file will not slow down the visitor who happens to
     7 * visit when the cron job is needed to run.
     8 *
     9 * @package WordPress
     10 */
     11
    212ignore_user_abort(true);
    3 define('DOING_CRON', TRUE);
     13
     14/**
     15 * Tell WordPress we are doing the CRON task.
     16 *
     17 * @var bool
     18 */
     19define('DOING_CRON', true);
     20/** Setup WordPress environment */
    421require_once('./wp-load.php');
    522
     
    1633if (!is_array($crons) || $keys[0] > time())
    1734    return;
     35
    1836foreach ($crons as $timestamp => $cronhooks) {
    1937    if ($timestamp > time()) break;
Note: See TracChangeset for help on using the changeset viewer.