[wp-trac] [WordPress Trac] #45976: Move logic to find next event from `wp_next_scheduled()` to `wp_get_scheduled_event()`.

WordPress Trac noreply at wordpress.org
Sun Jan 20 22:25:52 UTC 2019


#45976: Move logic to find next event from `wp_next_scheduled()` to
`wp_get_scheduled_event()`.
---------------------------+----------------------------
 Reporter:  peterwilsoncc  |       Owner:  peterwilsoncc
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  5.1
Component:  Cron API       |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+----------------------------

Comment (by peterwilsoncc):

 In [attachment:"45976.2.diff"]

 * Unit tests for `wp_get_scheduled_event()`
 * Remove tests for removed filter
 * bitwise `&` replaced with `&&` inside condition

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


More information about the wp-trac mailing list