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:
parent
c676499d51
commit
c58b656d42
@ -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…
x
Reference in New Issue
Block a user