#3169 closed defect (bug) (fixed)
Cron makes empty argument arrays into array(array()), and then array(array(array())), and so on, upon rescheduling
Reported by: | masquerade | Owned by: | ryan |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
(In [4362]) Change cron arg passing. Props masquerade. fixes #3169.