[wp-trac] [WordPress Trac] #35491: Add a function to check whether a hook is scheduled

WordPress Trac noreply at wordpress.org
Tue Feb 23 06:39:40 UTC 2016


#35491: Add a function to check whether a hook is scheduled
---------------------------------------------+------------------
 Reporter:  dlh                              |       Owner:
     Type:  enhancement                      |      Status:  new
 Priority:  normal                           |   Milestone:  4.5
Component:  Cron API                         |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+------------------

Comment (by dlh):

 [attachment:wp_next_scheduled.2.diff] fixes some incorrect uses of
 `wp_schedule_event()` that I had included in the test.

 There also seems to be a potential collision between this ticket and the
 latest patches for #34913 that might need to be sorted out, if I
 understand them correctly.

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


More information about the wp-trac mailing list