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

WordPress Trac noreply at wordpress.org
Mon Aug 1 23:18:32 UTC 2022


#56092: Unnecessary optimization in wp_get_ready_cron_jobs()
------------------------------+----------------------------
 Reporter:  lev0              |       Owner:  davidbaumwald
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  6.1
Component:  Cron API          |     Version:  5.1
 Severity:  trivial           |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  performance
------------------------------+----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 SergeyBiryukov]:
 > Introduced in [44483] / #45797, setting the version accordingly.

 Looking a bit closer, while the function was introduced in [44483], the
 actual short-circuit fragment is older than that.

 Some more history here:
 * [3634] / #2425
 * [4077] / #2715
 * [8927] / #7068
 * [10521] / #9005

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


More information about the wp-trac mailing list