[wp-trac] [WordPress Trac] #51547: Error checking in site health async cron tasks

WordPress Trac noreply at wordpress.org
Mon Oct 19 18:01:02 UTC 2020


#51547: Error checking in site health async cron tasks
--------------------------+---------------------
 Reporter:  dd32          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.6
Component:  Site Health   |     Version:  5.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by TimothyBlynJacobs):

 `isset( $test['async_direct_test'] ) && ! empty(
 $test['async_direct_test'] )` can be consolidated to just `! empty(
 $test['async_direct_test'] )`. Besides that, code approach looks good to
 me. But I haven't tested manually triggering the cron job.

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


More information about the wp-trac mailing list