[wp-trac] [WordPress Trac] #10468: wp_clear_scheduled_hook does not work when including an $args parameter

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 23 04:05:36 UTC 2009


#10468: wp_clear_scheduled_hook does not work when including an $args parameter
--------------------------+-------------------------------------------------
 Reporter:  johnbillion   |       Owner:                                                                  
     Type:  defect (bug)  |      Status:  new                                                             
 Priority:  normal        |   Milestone:  Unassigned                                                      
Component:  Cron          |     Version:  2.8.1                                                           
 Severity:  normal        |    Keywords:  cron, wp-cron, wp_clear_scheduled_hook, has-patch, needs-testing
--------------------------+-------------------------------------------------
Changes (by johnbillion):

  * keywords:  cron, wp-cron, wp_clear_scheduled_hook => cron, wp-cron,
               wp_clear_scheduled_hook, has-patch, needs-
               testing


Comment:

 Patch.

 `wp_clear_scheduled_hook` can currently take multiple values for $args. My
 patch removes this functionality, but breaking backwards compatibility
 won't be an issue as this never worked anyway.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10468#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list