Make WordPress Core

Ticket #13449: filter_wp_cron.diff

File filter_wp_cron.diff, 565 bytes (added by ikailo, 16 years ago)
  • wp-includes/cron.php

     
    230230
    231231        set_transient( 'doing_cron', $local_time );
    232232
    233         $cron_url = get_option( 'siteurl' ) . '/wp-cron.php?doing_wp_cron';
     233        $cron_url = apply_filters('cron_url', get_option( 'siteurl' ) . '/wp-cron.php?doing_wp_cron');
    234234        wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', true)) );
    235235}
    236236