WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#22013 closed defect (bug) (fixed)

Only variables should be assigned by reference

Reported by: knutsp Owned by: ryan
Milestone: 3.5 Priority: normal
Severity: minor Version: 3.4.2
Component: Warnings/Notices Keywords: has-patch
Focuses: Cc:

Description

An E_STRICT error in the WordPress Translation API wp-includes/l10n.php

Attachments (1)

22013.diff (1.6 KB) - added by knutsp 2 years ago.
Removes the & operator from call to get_translations_for_domain()

Download all attachments as: .zip

Change History (4)

@knutsp2 years ago

Removes the & operator from call to get_translations_for_domain()

comment:2 @ryan2 years ago

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

In [22113]:

Avoid 'Only variables should be assigned by reference' warning. Props knutsp. fixes #22013

comment:3 @ryan2 years ago

  • Milestone changed from Awaiting Review to 3.5
Note: See TracTickets for help on using tickets.