Add filter for local connection ssl verify to cron spawning, props sivel, see #8702

git-svn-id: https://develop.svn.wordpress.org/trunk@10526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-02-08 15:26:16 +00:00
parent c676499d51
commit c58b656d42

View File

@ -219,7 +219,7 @@ function spawn_cron( $local_time = 0 ) {
set_transient( 'doing_cron', $local_time );
$cron_url = get_option( 'siteurl' ) . '/wp-cron.php?doing_wp_cron';
wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false) );
wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', true)) );
}
/**