diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-30 17:46:07 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-30 17:46:07 +0000 |
| commit | 006898584b668bc04aeff31f8180d048e6ca4071 (patch) | |
| tree | 760b44188ab02261ba351de90e216e1b419fa87c /wp-includes/cron.php | |
| parent | eeae9d5c09399fa7cb89fe52d5676bf18fa61457 (diff) | |
| download | wordpress-mu-006898584b668bc04aeff31f8180d048e6ca4071.tar.gz wordpress-mu-006898584b668bc04aeff31f8180d048e6ca4071.tar.xz wordpress-mu-006898584b668bc04aeff31f8180d048e6ca4071.zip | |
WP Merge to rev 3834 and reverted to novalueindb option code
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@873 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/cron.php')
| -rw-r--r-- | wp-includes/cron.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wp-includes/cron.php b/wp-includes/cron.php index 2310b40..3d24431 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -93,6 +93,10 @@ function spawn_cron() { }
function wp_cron() {
+ // Prevent infinite loops caused by lack of wp-cron.php
+ if ( strpos($_SERVER['REQUEST_URI'], '/wp-cron.php') !== false )
+ return;
+
$crons = _get_cron_array();
if ( !is_array($crons) )
|
