[wp-trac] [WordPress Trac] #12609: Enabling FORCE_SSL_ADMIN breaks wp-cron.php
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 30 22:36:02 UTC 2010
#12609: Enabling FORCE_SSL_ADMIN breaks wp-cron.php
--------------------------+-------------------------------------------------
Reporter: dphiffer | Owner: westi
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Cron | Version:
Severity: normal | Keywords: has-patch dev-feedback
--------------------------+-------------------------------------------------
Changes (by sivel):
* cc: matt@… (added)
* keywords: => has-patch dev-feedback
Comment:
So nacin, Viper007Bond and myself discussed that we should switch
sslverify to false as a default and keep the filter so if it is needed we
can force verification.
Also we were using wp_remote_post with no body, which gets converted to a
GET request and we make sure in wp-cron.php that $_POST is empty before
continuing.
We may still want to look at the following logic in wp-cron.php as it
seems a little strange that we are making sure $_POST is empty:
{{{
if ( !empty($_POST) || defined('DOING_AJAX') || defined('DOING_CRON') )
die();
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12609#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list