WordPress.org

Make WordPress Core

Changeset 17573


Ignore:
Timestamp:
03/30/2011 08:50:05 PM (7 years ago)
Author:
ryan
Message:

Assigning the return value of new by reference is deprecated. Props hakre. see #16767

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r17524 r17573  
    217217 * @since 2.0.0
    218218 */
    219 $wp_the_query =& new WP_Query();
     219$wp_the_query = new WP_Query();
    220220
    221221/**
     
    232232 * @since 1.5.0
    233233 */
    234 $wp_rewrite =& new WP_Rewrite();
     234$wp_rewrite = new WP_Rewrite();
    235235
    236236/**
     
    239239 * @since 2.0.0
    240240 */
    241 $wp =& new WP();
     241$wp = new WP();
    242242
    243243/**
     
    246246 * @since 2.8.0
    247247 */
    248 $wp_widget_factory =& new WP_Widget_Factory();
     248$wp_widget_factory = new WP_Widget_Factory();
    249249
    250250do_action( 'setup_theme' );
     
    271271 * @since 2.1.0
    272272 */
    273 $wp_locale =& new WP_Locale();
     273$wp_locale = new WP_Locale();
    274274
    275275// Load the functions for the active theme, for both parent and child theme if applicable.
Note: See TracChangeset for help on using the changeset viewer.