[wp-trac] Re: [WordPress Trac] #2584: do_action merges array args, causing data loss prior to callback

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 21 15:06:30 GMT 2006


#2584: do_action merges array args, causing data loss prior to callback
----------------------------+-----------------------------------------------
       Id:  2584            |      Status:  new                     
Component:  Administration  |    Modified:  Tue Mar 21 15:06:30 2006
 Severity:  normal          |   Milestone:                          
 Priority:  normal          |     Version:  2.0.2                   
    Owner:  anonymous       |    Reporter:  skeltoac                
----------------------------+-----------------------------------------------
Comment (by random):

 Ah, of course! /me slaps self. (The keys are discarded when the array is
 passed to call_user_func_array(), if anyone is playing along at home.) Is
 it worth breaking backwards compatibility over, though, for an edge case
 with an easy workaround? A note in the docs or the code seems sufficient
 to me.

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


More information about the wp-trac mailing list