[wp-trac] [WordPress Trac] #3169: Cron makes empty argument arrays into array(array()), and then array(array(array())), and so on, upon rescheduling

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 26 04:53:56 GMT 2006


#3169: Cron makes empty argument arrays into array(array()), and then
array(array(array())), and so on, upon rescheduling
----------------------------+-----------------------------------------------
 Reporter:  masquerade      |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.1      
Component:  Administration  |     Version:  2.1      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 The way func_slice_args was used caused some issues. I've done away with
 it in the patch. Now all the cron functions that will pass along args to
 their corresponding hooks pass in an array of the args to pass to the
 callbacks run on the hook, as opposed to adding all those args to the end.
 I personally think its better this way, but it is API breakage for anyone
 who might've written a plugin using cron so far (only me probably =D ).

 Jibber jabber jibber, patch is attached.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3169>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list