We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6f4f1 commit b0414e9Copy full SHA for b0414e9
features/cron.feature
@@ -375,7 +375,7 @@ Feature: Manage WP-Cron events and schedules
375
"""
376
<?php
377
add_filter( 'cron_request', static function ( $cron_request_array ) {
378
- $cron_request_array['url'] = str_replace( 'https://example.com', 'http://localhost:8080', $cron_request_array['url'] );
+ $cron_request_array['url'] = str_replace( home_url(), 'http://localhost:8080', $cron_request_array['url'] );
379
$cron_request_array['args']['sslverify'] = false;
380
return $cron_request_array;
381
} );
0 commit comments