From a6135e999542aa62e0bfcfa7757d520d32666426 Mon Sep 17 00:00:00 2001 From: Jon Cave Date: Wed, 7 Mar 2012 16:32:11 +0000 Subject: [PATCH] Remove call-time pass by reference as it causes a compile time fatal error in PHP 5.4. See #20163. git-svn-id: https://develop.svn.wordpress.org/trunk@20136 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class-wp-customize-setting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-wp-customize-setting.php b/wp-includes/class-wp-customize-setting.php index fd6d16bee4..710026c221 100644 --- a/wp-includes/class-wp-customize-setting.php +++ b/wp-includes/class-wp-customize-setting.php @@ -459,7 +459,7 @@ class WP_Customize_Setting { elseif ( empty( $keys ) ) // If there are no keys, we're replacing the root. return $value; - $result = $this->multidimensional( &$root, $keys, true ); + $result = $this->multidimensional( $root, $keys, true ); if ( isset( $result ) ) $result['node'][ $result['key'] ] = $value;