Opened 15 years ago
Closed 15 years ago
#18867 closed defect (bug) (fixed)
Only variables should be assigned by reference
| Reported by: | arena | Owned by: | arena |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Administration | Version: | 3.3 |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.