Skip to:
Content

bbPress.org

Changeset 6155


Ignore:
Timestamp:
12/09/2016 02:04:05 PM (8 years ago)
Author:
xknown
Message:

Fix PHP7 parse error.

The result of new can't be longer assigned by reference.

See #3033

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/bb-includes/functions.bb-l10n.php

    r2383 r6155  
    482482function &get_translations_for_domain( $domain ) {
    483483    global $l10n;
    484     $empty =& new Translations;
     484    $empty = new Translations;
    485485    if ( isset($l10n[$domain]) )
    486486        return $l10n[$domain];
Note: See TracChangeset for help on using the changeset viewer.