-
+ DB711CB1CA19D74D09721B2C21077EEE68CD5099788725250457505A69CCB04BF1E54AE0E52AF6A08B11E24E8A8C32C60E755D630D17BA98DA994BA40EE841EEmp-wp/wp-cron.php(0 . 0)(1 . 63)
68997 <?php
68998 /**
68999 * WordPress Cron Implementation for hosts, which do not offer CRON or for which
69000 * the user has not setup a CRON job pointing to this file.
69001 *
69002 * The HTTP request to this file will not slow down the visitor who happens to
69003 * visit when the cron job is needed to run.
69004 *
69005 * @package WordPress
69006 */
69007
69008 ignore_user_abort(true);
69009
69010 /**
69011 * Tell WordPress we are doing the CRON task.
69012 *
69013 * @var bool
69014 */
69015 define('DOING_CRON', true);
69016 /** Setup WordPress environment */
69017 require_once('./wp-load.php');
69018
69019 if ( $_GET['check'] != wp_hash('187425') )
69020 exit;
69021
69022 $local_time = time();
69023
69024 $crons = _get_cron_array();
69025 $keys = array_keys( $crons );
69026
69027 if (!is_array($crons) || $keys[0] > $local_time) {
69028 update_option('doing_cron', 0);
69029 return;
69030 }
69031
69032 foreach ($crons as $timestamp => $cronhooks) {
69033
69034 if ( $timestamp > $local_time )
69035 break;
69036
69037 foreach ($cronhooks as $hook => $keys) {
69038
69039 foreach ($keys as $k => $v) {
69040
69041 $schedule = $v['schedule'];
69042
69043 if ($schedule != false) {
69044 $new_args = array($timestamp, $schedule, $hook, $v['args']);
69045 call_user_func_array('wp_reschedule_event', $new_args);
69046 }
69047
69048 wp_unschedule_event($timestamp, $hook, $v['args']);
69049
69050 do_action_ref_array($hook, $v['args']);
69051 }
69052 }
69053 }
69054
69055 update_option('doing_cron', 0);
69056
69057 die();
69058
69059 ?>