WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#573 closed defect (fixed)

Strict Standards: Only variables should be assigned by reference in mu-plugins/roles/rosetta-roles.php on line 37

Reported by: iamfriendly Owned by: iandunn
Milestone: Priority: lowest
Component: International Sites (Rosetta) Keywords:
Cc:

Description

get_role() is called by reference, strict standards now disallow this.

Attachments (1)

573.diff (587 bytes) - added by iamfriendly 5 years ago.
Stop passing get_role() by reference to prevent strict warning

Download all attachments as: .zip

Change History (2)

@iamfriendly
5 years ago

Stop passing get_role() by reference to prevent strict warning

#1 @iandunn
5 years ago

  • Owner set to iandunn
  • Resolution set to fixed
  • Status changed from new to closed

In 763:

International Sites: Get local copy of returned variable instead of reference.

Fixes #573
props iamfriendly

Note: See TracTickets for help on using tickets.