Add filter for local connection ssl verify to cron spawning, props sivel, see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ccd5cea290
commit
c8a972ed3e
|
@ -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)) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue