[wp-trac] [WordPress Trac] #12609: Enabling FORCE_SSL_ADMIN breaks wp-cron.php

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 25 07:41:12 UTC 2010


#12609: Enabling FORCE_SSL_ADMIN breaks wp-cron.php
--------------------------+-------------------------------------------------
 Reporter:  dphiffer      |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------

Comment(by nacin):

 Relevant code:
 {{{
 wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false,
 'sslverify' => apply_filters('https_local_ssl_verify', true)) );
 }}}

 If you're using a self-signed or invalid cert, then sslverify=true will
 prevent the request. You can try this:

 {{{
 add_filter( 'https_local_ssl_verify', '__return_false' ); //
 __return_false() is 3.0
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12609#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list