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

WordPress Trac noreply at wordpress.org
Wed Mar 25 15:10:31 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):

 > - We're currently doing this with a `schedule_event` filter. Another
 route could be to add it to `default-filters`, but I think it should be in
 the Cron API itself.

 Scratch this. It breaks `wp_reschedule_event`. Most plugins will requeue
 their own recurring events, but this isn't possible now, because of how
 `wp-cron.php` processes events.

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


More information about the wp-trac mailing list