WordPress.org

Make WordPress Core

Ticket #8923: 8923_cron.diff

File 8923_cron.diff, 517 bytes (added by hailin, 7 years ago)

patch

  • C:/xampp/htdocs/wordpress_trunk/wp-includes/cron.php

     
    201201 
    202202        update_option( 'doing_cron', $local_time + 30 ); 
    203203 
    204         wp_remote_post($cron_url, array('timeout' => 0.01, 'blocking' => false)); 
     204        wp_remote_post($cron_url, array('timeout' => 10*60, 'blocking' => false)); 
    205205} 
    206206 
    207207/**