From c58b656d42e37da0800c9a803e59e0d1242cb5cd Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Sun, 8 Feb 2009 15:26:16 +0000 Subject: [PATCH] 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 --- wp-includes/cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/cron.php b/wp-includes/cron.php index 9b340dfe52..275eaed879 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -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)) ); } /**