WordPress.org

Make WordPress Core

Changeset 8529


Ignore:
Timestamp:
08/03/08 21:07:21 (6 years ago)
Author:
ryan
Message:

Use wp_guess_url() for determining the cron URL. Props jacobsantos. see #4779

File:
1 edited

Legend:

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

    r8519 r8529  
    8989        return; 
    9090 
    91     $cron_url = get_option( 'siteurl' ) . '/wp-cron.php?check=' . wp_hash('187425'); 
     91    $cron_url = wp_guess_url() . '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.