Opened 14 years ago
Closed 14 years ago
#18867 closed defect (bug) (fixed)
Only variables should be assigned by reference
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | trivial | Version: | 3.3 |
Component: | Administration | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Only variables should be assigned by reference in D:\webserver\htdocs\wordpress\wp-includes\capabilities.php at line 667
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
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.