[wp-trac] [WordPress Trac] #25160: Unnecessarily passing $this by reference in core

WordPress Trac noreply at wordpress.org
Wed Aug 28 14:58:41 UTC 2013


#25160: Unnecessarily passing $this by reference in core
-------------------------------------+------------------------------
 Reporter:  jdgrimes                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:
 Severity:  trivial                  |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 jdgrimes]:
 > It removes many unnecesary uses of `apply_filters_ref_array()` and
 `do_action_ref_array()` as a result of this as well.

 Previously: #16661

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


More information about the wp-trac mailing list