Opened 12 years ago
Closed 12 years ago
#24438 closed defect (bug) (fixed)
Strict Standards Error with New Installation
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Warnings/Notices | Keywords: | has-patch |
Focuses: | Cc: |
Description
On a new install of WordPress, I'm running into a lot of errors about pass-by references.
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 589
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 622
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 644
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 655
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 662
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 675
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 675
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 696
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 702
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 708
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 720
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 733
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 746
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 760
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 774
Strict Standards: Only variables should be assigned by reference in /srv/www/wordpress-trunk/wp-admin/includes/schema.php on line 787
These are all triggered by $role =& get_role();
and the simple fix it to remove the ampersand so it becomes $role = get_role();
.
Related: #24433
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 24381: