Remove passing by reference in WP_Upgrader, see #7875

git-svn-id: https://develop.svn.wordpress.org/trunk@11028 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-04-21 08:10:41 +00:00
parent 493a97c532
commit c9ebd34b88

View File

@@ -20,10 +20,10 @@ class WP_Upgrader {
var $skin = null;
var $result = array();
function WP_Upgrader(&$skin = null) {
function WP_Upgrader($skin = null) {
return __construct($skin);
}
function __construct(&$skin = null) {
function __construct($skin = null) {
if ( null == $skin )
$this->skin = new WP_Upgrader_Skin();
else