diff -r f507feede89a -r 09a1c134465b web/wp-includes/widgets.php --- a/web/wp-includes/widgets.php Wed Dec 19 12:35:13 2012 -0800 +++ b/web/wp-includes/widgets.php Wed Dec 19 17:46:52 2012 -0800 @@ -152,15 +152,15 @@ } function _get_display_callback() { - return array(&$this, 'display_callback'); + return array($this, 'display_callback'); } function _get_update_callback() { - return array(&$this, 'update_callback'); + return array($this, 'update_callback'); } function _get_form_callback() { - return array(&$this, 'form_callback'); + return array($this, 'form_callback'); } /** Generate the actual widget content. @@ -317,7 +317,7 @@ var $widgets = array(); function WP_Widget_Factory() { - add_action( 'widgets_init', array( &$this, '_register_widgets' ), 100 ); + add_action( 'widgets_init', array( $this, '_register_widgets' ), 100 ); } function register($widget_class) {