[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 16:48:57 GMT 2006


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

 I'm not sure I understand this. From skeltoac's title to this bug, it
 would appear that two associative arrays with clashing keys get their
 contents merged destructively, which sounds like reasonable behaviour (so
 I'd call invalid). But then random's comment on call_user_func_array()
 doesn't make sense, the merging's got nothing to do with that.

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


More information about the wp-trac mailing list