[wp-trac] [WordPress Trac] #25160: Unnecessarily passing object by reference in WP_Widget::form_callback()
WordPress Trac
noreply at wordpress.org
Tue Aug 27 23:10:54 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 | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by johnbillion):
A quick grep for `array( &$this` shows there are still ~200 places in core
where we're still using the unnecessary pass-by-reference operator. Should
we replace them all in one go?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25160#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list