Make WordPress Core


Ignore:
Timestamp:
01/15/2010 06:02:34 PM (15 years ago)
Author:
wpmuguru
Message:

fix multisite object cache warnings, $table_prefix assignment, See #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r12709 r12730  
    309309        $current_user->_init_caps();
    310310
    311     if ( is_object( $wp_object_cache ) )
     311    if ( is_object( $wp_object_cache ) && isset( $wp_object_cache->global_groups ) )
    312312        $global_groups = $wp_object_cache->global_groups;
    313313    else
     
    362362        $current_user->_init_caps();
    363363
    364     if ( is_object( $wp_object_cache ) )
     364    if ( is_object( $wp_object_cache ) && isset( $wp_object_cache->global_groups ) )
    365365        $global_groups = $wp_object_cache->global_groups;
    366366    else
Note: See TracChangeset for help on using the changeset viewer.