Skip to:
Content

BuddyPress.org

Changeset 7288 for trunk/bp-loader.php


Ignore:
Timestamp:
07/22/2013 05:35:06 PM (11 years ago)
Author:
boonebgorges
Message:

Remove pass-by-reference for objects in selected places in BP

Since PHP 5.0, objects have been passed by reference by default. In more recent
versions of PHP, standards notices have been introduced to increasingly
deprecate the practice of passing objects by reference using an ampersand.

This changeset removes several of these strict standard notices, by removing
the explicit pass-by-reference for the objects in question.

See #5108

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r7287 r7288  
    600600// "And now here's something we hope you'll really like!"
    601601} else {
    602     $GLOBALS['bp'] = &buddypress();
     602    $GLOBALS['bp'] = buddypress();
    603603}
    604604
Note: See TracChangeset for help on using the changeset viewer.