Make WordPress Core


Ignore:
Timestamp:
10/18/2011 08:20:59 PM (13 years ago)
Author:
nacin
Message:

new does not require by reference.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r18886 r18995  
    17291729        return;
    17301730    require_once( ABSPATH . 'wp-admin/custom-background.php' );
    1731     $GLOBALS['custom_background'] =& new Custom_Background( $admin_header_callback, $admin_image_div_callback );
     1731    $GLOBALS['custom_background'] = new Custom_Background( $admin_header_callback, $admin_image_div_callback );
    17321732    add_action( 'admin_menu', array( &$GLOBALS['custom_background'], 'init' ) );
    17331733}
Note: See TracChangeset for help on using the changeset viewer.