mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user