[wp-trac] [WordPress Trac] #57744: wp_schedule_event does not check $args for unicity

WordPress Trac noreply at wordpress.org
Fri Feb 17 06:03:26 UTC 2023


#57744: wp_schedule_event does not check $args for unicity
--------------------------+-----------------------------
 Reporter:  teraitane     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Cron API      |    Version:  6.1.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello,
 Regarding the documentation of wp_schedule_event(), it should check if
 args are unique or duplicate with an event to occur within 10 minutes of
 an existing event with the same action hook.
 But it does not.
 It only check for hook name and 10 minutes.

 Kind regards.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57744>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list