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

WordPress Trac noreply at wordpress.org
Thu Mar 26 23:41:27 UTC 2020


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

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
     testing
 * milestone:  Awaiting Review => 5.5


Comment:

 At first look 49693-alternative.patch seems better as it doesn't need
 additional param. But breaking `wp_reschedule_event()` when not doing
 wp_cron doesn't seem like a good idea. Thinking the approach in
 49693-3.patch is the right one.

 The only thing left here is perhaps to try to figure out if any plugins
 will be negatively affected by this change. As far as I see there are a
 handful of plugin that call wp_reschedule_event():
 https://wpdirectory.net/search/01E4CJVDEWK1JRTHRH7CVJGSZF.

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


More information about the wp-trac mailing list