Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/02/2013 04:59:39 PM (13 years ago)
Author:
boonebgorges
Message:

Remove deprecated by-reference usage in testcase.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/includes/testcase.php

    r7364 r7493  
    133133
    134134        unset($GLOBALS['wp_query'], $GLOBALS['wp_the_query']);
    135         $GLOBALS['wp_the_query'] =& new WP_Query();
    136         $GLOBALS['wp_query'] =& $GLOBALS['wp_the_query'];
    137         $GLOBALS['wp'] =& new WP();
     135        $GLOBALS['wp_the_query'] = new WP_Query();
     136        $GLOBALS['wp_query'] = $GLOBALS['wp_the_query'];
     137        $GLOBALS['wp'] = new WP();
    138138
    139139        // clean out globals to stop them polluting wp and wp_query
Note: See TracChangeset for help on using the changeset viewer.