mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Remove passing by reference in WP_Upgrader, see #7875
git-svn-id: http://svn.automattic.com/wordpress/trunk@11028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e8285dc491
commit
c6bfc98f2b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user