--- a/wp/wp-cron.php Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-cron.php Fri Sep 05 18:52:52 2025 +0200
@@ -24,7 +24,7 @@
}
// Don't run cron until the request finishes, if possible.
-if ( PHP_VERSION_ID >= 70016 && function_exists( 'fastcgi_finish_request' ) ) {
+if ( function_exists( 'fastcgi_finish_request' ) ) {
fastcgi_finish_request();
} elseif ( function_exists( 'litespeed_finish_request' ) ) {
litespeed_finish_request();
@@ -141,7 +141,7 @@
);
/**
- * Fires when an error happens rescheduling a cron event.
+ * Fires if an error happens when rescheduling a cron event.
*
* @since 6.1.0
*
@@ -168,7 +168,7 @@
);
/**
- * Fires when an error happens unscheduling a cron event.
+ * Fires if an error happens when unscheduling a cron event.
*
* @since 6.1.0
*