Make WordPress Core

Changeset 11028


Ignore:
Timestamp:
04/21/2009 08:10:41 AM (17 years ago)
Author:
azaozz
Message:

Remove passing by reference in WP_Upgrader, see #7875

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-upgrader.php

    r11013 r11028  
    2121        var $result = array();
    2222
    23         function WP_Upgrader(&$skin = null) {
     23        function WP_Upgrader($skin = null) {
    2424                return __construct($skin);
    2525        }
    26         function __construct(&$skin = null) {
     26        function __construct($skin = null) {
    2727                if ( null == $skin )
    2828                        $this->skin = new WP_Upgrader_Skin();
Note: See TracChangeset for help on using the changeset viewer.