WordPress.org

Make WordPress Core

Ticket #8665: ping_to.diff

File ping_to.diff, 412 bytes (added by tmcookies, 7 years ago)

Diff file to change the ping timeout

  • wp-includes/cron.php

     
    198198 
    199199        update_option( 'doing_cron', $local_time + 30 ); 
    200200 
    201         wp_remote_post($cron_url, array('timeout' => 0.01, 'blocking' => false)); 
     201        wp_remote_post($cron_url, array('timeout' => 1, 'blocking' => false)); 
    202202} 
    203203 
    204204/**