[wp-trac] [WordPress Trac] #18867: Only variables should be assigned by reference
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 6 16:05:47 UTC 2011
#18867: Only variables should be assigned by reference
------------------------------+--------------------
Reporter: arena | Owner: arena
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.3
Component: Administration | Version: 3.3
Severity: trivial | Resolution:
Keywords: has-patch commit |
------------------------------+--------------------
Comment (by nacin):
The fix here would be to return $null = null, rather than null, in
WP_Roles::get_roles().
Of course, the argument could be made we no longer need references here.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18867#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list