diff --git a/src/wp-includes/cron.php b/src/wp-includes/cron.php index b6daeffc74..60492c5d04 100644 --- a/src/wp-includes/cron.php +++ b/src/wp-includes/cron.php @@ -269,7 +269,7 @@ function spawn_cron( $gmt_time = 0 ) { return; if ( defined( 'ALTERNATE_WP_CRON' ) && ALTERNATE_WP_CRON ) { - if ( ! empty( $_POST ) || defined( 'DOING_AJAX' ) || defined( 'XMLRPC_REQUEST' ) ) { + if ( 'GET' !== $_SERVER['REQUEST_METHOD'] || defined( 'DOING_AJAX' ) || defined( 'XMLRPC_REQUEST' ) ) { return; }