WordPress.org

Make WordPress Core

Ticket #13449: 13449.patch

File 13449.patch, 761 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/cron.php

     
    244244        $doing_wp_cron = sprintf( '%.22F', $local_time );
    245245        set_transient( 'doing_cron', $doing_wp_cron );
    246246
    247         $cron_url = get_option( 'siteurl' ) . '/wp-cron.php?doing_wp_cron=' . $doing_wp_cron;
    248         wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', true)) );
     247        $cron_url = site_url( 'wp-cron.php?doing_wp_cron=' . $doing_wp_cron );
     248        wp_remote_post( $cron_url, array( 'timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters( 'https_local_ssl_verify', true ) ) );
    249249}
    250250
    251251/**