Skip to content

Commit fb53862

Browse files
committed
This condition is no longer needed.
1 parent a2f83fa commit fb53862

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bootstrap.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,6 @@ function test_cron_spawn( $cache = true ) {
13531353
return true;
13541354
}
13551355

1356-
$sslverify = version_compare( $wp_version, '4.0', '<' );
13571356
$doing_wp_cron = sprintf( '%.22F', microtime( true ) );
13581357

13591358
$cron_request = apply_filters( 'cron_request', array(
@@ -1362,7 +1361,7 @@ function test_cron_spawn( $cache = true ) {
13621361
'args' => array(
13631362
'timeout' => 3,
13641363
'blocking' => true,
1365-
'sslverify' => apply_filters( 'https_local_ssl_verify', $sslverify ),
1364+
'sslverify' => apply_filters( 'https_local_ssl_verify', false ),
13661365
),
13671366
), $doing_wp_cron );
13681367

0 commit comments

Comments
 (0)