[wp-trac] [WordPress Trac] #28213: wp_schedule_single_event() prevents scheduling a future event when it should not

WordPress Trac noreply at wordpress.org
Fri Oct 17 19:16:29 UTC 2014


#28213: wp_schedule_single_event() prevents scheduling a future event when it
should not
--------------------------+-----------------------------
 Reporter:  tellyworth    |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Cron API      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29939"]:
 {{{
 #!CommitTicketReference repository="" revision="29939"
 `wp_schedule_single_event()` should not prevent scheduling a future
 duplicate event. It should only reject an event as a duplicate if there is
 already a similar event scheduled within 10 minutes of the given
 timestamp.

 Adds unit tests, fixes existing cron test.

 Props tellyworth.

 See [9181], #6966.
 Fixes #28213.
 }}}

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


More information about the wp-trac mailing list