[wp-trac] [WordPress Trac] #49693: Drop duplicate recurring cron events

WordPress Trac noreply at wordpress.org
Wed Mar 25 16:17:18 UTC 2020


#49693: Drop duplicate recurring cron events
--------------------------------------+------------------------------
 Reporter:  aidvu                     |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Cron API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by aidvu):

 Alternative approach would be to skip the duplicate check when we're
 `wp_doing_cron()`. This would make the `wp_reschedule_event()` function
 unusable if we're not `DOING_CRON`.

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


More information about the wp-trac mailing list