WordPress.org

Make WordPress Core

Changeset 10526


Ignore:
Timestamp:
02/08/09 15:26:16 (7 years ago)
Author:
azaozz
Message:

Add filter for local connection ssl verify to cron spawning, props sivel, see #8702

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/cron.php

    r10521 r10526  
    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 
Note: See TracChangeset for help on using the changeset viewer.