[wp-trac] [WordPress Trac] #17111: Remove unnecessary copy-by-reference in do_action()
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 12 17:05:05 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 ericmann):
I've seen `do_action( 'whatever', &$this );` but not `do_action(
'something', array( &$this ) );`:
If a plugin somewhere ''does'' pass `array( &$this )`, how bad would
things break?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17111#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list