[wp-trac] [WordPress Trac] #18785: Modernize screen functions
WordPress Trac
wp-trac at lists.automattic.com
Sat Nov 5 03:54:36 UTC 2011
#18785: Modernize screen functions
----------------------------+---------------------
Reporter: nacin | Owner: nacin
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 3.3
Component: Administration | Version: 3.3
Severity: normal | Resolution: fixed
Keywords: dev-feedback |
----------------------------+---------------------
Comment (by nacin):
Replying to [comment:147 scribu]:
> Huh? You mean you ''want'' to allow callbacks to modify {{{$tab}}}?
After testing, [19155] wasn't necessary, but it can stay.
The docs suggested that call_user_func() could not pass by reference. I
took that to include objects -- we wouldn't want $this to get copied.
Turns out objects in PHP (5, anyway) are still passed by reference with
call_user_func().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18785#comment:148>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list