[wp-trac] [WordPress Trac] #56092: Unnecessary optimization in wp_get_ready_cron_jobs()

WordPress Trac noreply at wordpress.org
Wed Jun 29 04:37:04 UTC 2022


#56092: Unnecessary optimization in wp_get_ready_cron_jobs()
------------------------------+-----------------------------
 Reporter:  lev0              |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Cron API          |    Version:  trunk
 Severity:  trivial           |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 The short circuit just before iterating the `$crons` has no performance
 benefit. See https://github.com/WordPress/wordpress-
 develop/commit/583d254d4f5538dc7d0edd779fc21a302694b8de

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56092>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list