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

WordPress Trac noreply at wordpress.org
Fri Feb 17 16:14:33 UTC 2023


#57744: wp_schedule_single_event does not check $args for unicity
-------------------------------+------------------------------
 Reporter:  teraitane          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Cron API           |     Version:
 Severity:  normal             |  Resolution:  invalid
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by teraitane):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Yes, I was referring wp_schedule_single_event().

 And you are right, wp_schedule_single_event() checks the args in duplicate
 check. I didn't saw that in the source code.

 I will have to double check my dev because I encountered the case that a
 second event having same hook but different args was not scheduled.

 No need to clarify the documentation.

 Thank you very much for your response and patience. I appreciate it.

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


More information about the wp-trac mailing list