Making WordPress.org

Opened 12 years ago

Closed 12 years ago

#573 closed defect (bug) (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
Priority: lowest Milestone:
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 12 years ago.
Stop passing get_role() by reference to prevent strict warning

Download all attachments as: .zip

Change History (2)

@iamfriendly
12 years ago

Stop passing get_role() by reference to prevent strict warning

#1 @iandunn
12 years ago

  • Owner set to iandunn
  • Resolution → fixed
  • Status new → 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.