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/widgets.php

    r18821 r18995  
    322322
    323323    function register($widget_class) {
    324         $this->widgets[$widget_class] = & new $widget_class();
     324        $this->widgets[$widget_class] = new $widget_class();
    325325    }
    326326
Note: See TracChangeset for help on using the changeset viewer.