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

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 21 20:44:10 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.1      
Component:  Warnings/Notices  |     Version:           
 Severity:  normal            |    Keywords:  has-patch
------------------------------+---------------------------------------------
Changes (by westi):

  * milestone:  3.0.1 => 3.1


Comment:

 I think we need to soak test this in trunk before backporting to the 3.0
 branch and ensure we don't introduce any other subtle bugs.

 We are changing the code from returning values to references with the
 current patch I think due to the implementation details of end and reset.

 So I guess it might be better to re-invent in another way.

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


More information about the wp-trac mailing list