WordPress.org

Make WordPress Core

Changeset 8537


Ignore:
Timestamp:
08/04/08 19:19:05 (6 years ago)
Author:
ryan
Message:

Don't use wp_guess_url(). Caused big problems. see #4779

File:
1 edited

Legend:

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

    r8529 r8537  
    8989        return; 
    9090 
    91     $cron_url = wp_guess_url() . 'wp-cron.php?check=' . wp_hash('187425'); 
     91    $cron_url = get_option( 'siteurl' ) . '/wp-cron.php?check=' . wp_hash('187425'); 
    9292 
    9393    wp_remote_post($cron_url, array('timeout' => 0.01, 'blocking' => false)); 
Note: See TracChangeset for help on using the changeset viewer.