[wp-trac] [WordPress Trac] #16661: Deprecate do_action_ref_array()

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 25 16:52:07 UTC 2011


#16661: Deprecate do_action_ref_array()
--------------------------+---------------------------------
 Reporter:  scribu        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  has-patch 3.2-early
--------------------------+---------------------------------
 do_action_ref_array()'s raison d'etre was PHP4's buggy handling of object
 references.

 Since in PHP5 objects are passed by reference by default, it's not needed
 anymore.

 The same goes for apply_filters_ref_array(), introduced in 3.0.

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


More information about the wp-trac mailing list