From 0dfea670fb50dd5a5ffa0daf3e584856a6a16c1b Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 21 Apr 2010 20:37:54 +0000 Subject: [PATCH] Move the global up git-svn-id: http://svn.automattic.com/wordpress/trunk@14181 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/load.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/load.php b/wp-includes/load.php index 6e49bfd67..e46b9de60 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -348,9 +348,10 @@ function wp_set_wpdb_vars() { * @since 3.0.0 */ function wp_start_object_cache() { + global $_wp_using_ext_object_cache; + $first_init = false; if ( ! function_exists( 'wp_cache_init' ) ) { - global $_wp_using_ext_object_cache; if ( file_exists( WP_CONTENT_DIR . '/object-cache.php' ) ) { require_once ( WP_CONTENT_DIR . '/object-cache.php' ); $_wp_using_ext_object_cache = true;