[wp-trac] [WordPress Trac] #17111: Remove unnecessary copy-by-reference in do_action()

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 13 03:07:13 UTC 2011


#17111: Remove unnecessary copy-by-reference in do_action()
-------------------------+------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.2
Component:  Performance  |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by scribu):

 The reason I'm skeptical is because do_action_ref_array() was also
 introduced in WP 2.1, when this change was made.

 Eric & Denis: for a simple testcase, see [attachment:test-do-action.php].

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


More information about the wp-trac mailing list