plugin updates
This commit is contained in:
@@ -24,7 +24,7 @@ if ( ! headers_sent() ) {
|
||||
}
|
||||
|
||||
// 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 @@ foreach ( $crons as $timestamp => $cronhooks ) {
|
||||
);
|
||||
|
||||
/**
|
||||
* 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 @@ foreach ( $crons as $timestamp => $cronhooks ) {
|
||||
);
|
||||
|
||||
/**
|
||||
* Fires when an error happens unscheduling a cron event.
|
||||
* Fires if an error happens when unscheduling a cron event.
|
||||
*
|
||||
* @since 6.1.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user