WordPress.org

Make WordPress Core

Ticket #11505: ticket-11505-stop-gap.patch

File ticket-11505-stop-gap.patch, 572 bytes (added by miqrogroove, 5 years ago)

The "Rich and Paul" stop-gap patch for anyone in panic mode.

  • cron.php

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