Skip to content

Commit c58b656

Browse files
committed
Add filter for local connection ssl verify to cron spawning, props sivel, see WordPress#8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10526 602fd350-edb4-49c9-b593-d223f7449a82
1 parent c676499 commit c58b656

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp-includes/cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function spawn_cron( $local_time = 0 ) {
219219
set_transient( 'doing_cron', $local_time );
220220

221221
$cron_url = get_option( 'siteurl' ) . '/wp-cron.php?doing_wp_cron';
222-
wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false) );
222+
wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', true)) );
223223
}
224224

225225
/**

0 commit comments

Comments
 (0)