From c8a972ed3e474f80e93e7b4c64632f48b787de2b Mon Sep 17 00:00:00 2001 From: azaozz 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: http://svn.automattic.com/wordpress/trunk@10526 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 9b340dfe5..275eaed87 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)) ); } /**