Ticket #22661: 22661.2.patch
File 22661.2.patch, 751 bytes (added by , 11 years ago) |
---|
-
src/wp-includes/load.php
390 390 * @since 3.0.0 391 391 */ 392 392 function wp_start_object_cache() { 393 global $blog_id ;393 global $blog_id, $_wp_using_ext_object_cache; 394 394 395 395 $first_init = false; 396 396 if ( ! function_exists( 'wp_cache_init' ) ) { 397 397 if ( file_exists( WP_CONTENT_DIR . '/object-cache.php' ) ) { 398 398 require_once ( WP_CONTENT_DIR . '/object-cache.php' ); 399 if ( function_exists( 'wp_cache_init' ) )399 if ( function_exists( 'wp_cache_init' ) && ! isset( $_wp_using_ext_object_cache ) ) { 400 400 wp_using_ext_object_cache( true ); 401 } 401 402 } 402 403 403 404 $first_init = true;