Changeset 7991 for trunk/wp-cron.php
- Timestamp:
- 05/25/2008 03:50:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-cron.php
r7971 r7991 1 1 <?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 2 12 ignore_user_abort(true); 3 define('DOING_CRON', TRUE); 13 14 /** 15 * Tell WordPress we are doing the CRON task. 16 * 17 * @var bool 18 */ 19 define('DOING_CRON', true); 20 /** Setup WordPress environment */ 4 21 require_once('./wp-load.php'); 5 22 … … 16 33 if (!is_array($crons) || $keys[0] > time()) 17 34 return; 35 18 36 foreach ($crons as $timestamp => $cronhooks) { 19 37 if ($timestamp > time()) break;
Note: See TracChangeset
for help on using the changeset viewer.