Skip to content
Permalink
Browse files

Docs: Add missing `@SInCE` tag for `WP_Site_Health::has_late_cron()`.

See #47223.

git-svn-id: https://develop.svn.wordpress.org/trunk@45803 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 15, 2019
1 parent 0d2b94a commit 4f86944a09c894479628d33274c3e165d7cd5815
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/wp-admin/includes/class-wp-site-health.php
@@ -1940,7 +1940,7 @@ private function get_cron_tasks() {
*
* @since 5.2.0
*
* @return bool|WP_Error true if a cron was missed, false if it wasn't. WP_Error if the cron is set to that.
* @return bool|WP_Error True if a cron was missed, false if not. WP_Error if the cron is set to that.
*/
public function has_missed_cron() {
if ( is_wp_error( $this->crons ) ) {
@@ -1963,7 +1963,9 @@ public function has_missed_cron() {
* Returns a boolean value of `true` if a scheduled task is late and ends processing. If the list of
* crons is an instance of WP_Error, return the instance instead of a boolean value.
*
* @return bool|WP_Error true if a cron is late, false if it wasn't. WP_Error if the cron is set to that.
* @since 5.3.0
*
* @return bool|WP_Error True if a cron is late, false if not. WP_Error if the cron is set to that.
*/
public function has_late_cron() {
if ( is_wp_error( $this->crons ) ) {

0 comments on commit 4f86944

Please sign in to comment.
You can’t perform that action at this time.