[wp-trac] [WordPress Trac] #42660: Single event scheduler

WordPress Trac noreply at wordpress.org
Wed Nov 22 13:38:16 UTC 2017


#42660: Single event scheduler
-------------------------------+------------------------------
 Reporter:  skarabeq           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Cron API           |     Version:  4.9
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by skarabeq):

 * severity:  normal => major


Comment:

 @ocean90 with this code:

 {{{#!php
 <?php
 if ( ! wp_next_scheduled( 'single_action' ) ) {
         wp_schedule_single_event( strtotime( '2017-11-22 11:00' ),
 'single_action' );
 }
 }}}

 isn't works like as expect. Still triggered event on every refresh on
 website (doesn't matter where I'm)

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


More information about the wp-trac mailing list