[wp-trac] [WordPress Trac] #25160: Unnecessarily passing object by reference in WP_Widget::form_callback()

WordPress Trac noreply at wordpress.org
Tue Aug 27 21:58:59 UTC 2013


#25160: Unnecessarily passing object by reference in WP_Widget::form_callback()
--------------------------+-----------------------------
 Reporter:  jdgrimes      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:
 Severity:  trivial       |   Keywords:  has-patch
--------------------------+-----------------------------
 `WP_Widget::form_callback()` passes `$this` by reference to an action.
 This is no longer necessary as of PHP5.

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


More information about the wp-trac mailing list