[wp-trac] [WordPress Trac] #24438: Strict Standards Error with New Installation
WordPress Trac
noreply at wordpress.org
Tue May 28 05:54:15 UTC 2013
#24438: Strict Standards Error with New Installation
--------------------------+-----------------------------
Reporter: sunnyratilal | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
On a new install of WordPress, I'm running into a lot of errors about
pass-by references.
{{{#!php
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
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24438>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list