[wp-trac] [WordPress Trac] #13757: Passing functions as call by ref parameter should be avoided

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 9 11:30:36 UTC 2010


#13757: Passing functions as call by ref parameter should be avoided
------------------------------+---------------------------------------------
 Reporter:  TobiasBg          |       Owner:  westi    
     Type:  defect (bug)      |      Status:  new      
 Priority:  normal            |   Milestone:  3.0      
Component:  Warnings/Notices  |     Version:           
 Severity:  normal            |    Keywords:  has-patch
------------------------------+---------------------------------------------

Comment(by TobiasBg):

 Just noted that mentioning {{{array_push}}} and {{{array_unshift}}} was
 actually nonsense, because they don't even make sense without a variable
 passed as the argument, so ignore those.

 However, other functions might still be affected.

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


More information about the wp-trac mailing list