Make WordPress Core


Ignore:
Timestamp:
10/29/2008 10:59:47 PM (17 years ago)
Author:
ryan
Message:

Fix the fix

File:
1 edited

Legend:

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

    r9406 r9407  
    179179        return;
    180180
    181     $cron_url = 'http://' . $_SERVER['SERVER_ADDR'] . '/wp-cron.php?check=' . wp_hash('187425');
     181    $cron_url = get_option( 'siteurl' ) . '/wp-cron.php?check=' . wp_hash('187425');
    182182    /*
    183183    * multiple processes on multiple web servers can run this code concurrently
Note: See TracChangeset for help on using the changeset viewer.