[wp-trac] [WordPress Trac] #47223: Site Health Check: "last missed cron" test too aggressive

WordPress Trac noreply at wordpress.org
Sun Jun 23 07:33:13 UTC 2019


#47223: Site Health Check: "last missed cron" test too aggressive
-------------------------------------------------+-------------------------
 Reporter:  DavidAnderson                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Site Health                          |     Version:  5.2
 Severity:  normal                               |  Resolution:
 Keywords:  site-health has-patch needs-testing  |     Focuses:
-------------------------------------------------+-------------------------

Comment (by Clorith):

 Wouldn't a complimentary new function of `has_late_cron()` that needs to
 be truthy before we check for `has_missed_cron()` be an idea here? Yes it
 adds an extra layer, but it feels cleaner than to introducing a string
 here as well, we already may return a boolean ''or'' a WP_Error in that
 function call as is.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47223#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list