WordPress.org

Make WordPress Core

Changeset 31348


Ignore:
Timestamp:
02/06/2015 03:25:32 AM (5 years ago)
Author:
nacin
Message:

Remove leading space from the definition of a global cache group.

This only applied in a rare situation during the switch_to_blog() process where no global groups were currently defined.

see #31243.

File:
1 edited

Legend:

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

    r31347 r31348  
    629629                wp_cache_add_global_groups( $global_groups );
    630630            } else {
    631                 wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'user_meta', 'useremail', 'userslugs', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts', ' blog-id-cache' ) );
     631                wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'user_meta', 'useremail', 'userslugs', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts', 'blog-id-cache' ) );
    632632            }
    633633            wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
     
    693693                wp_cache_add_global_groups( $global_groups );
    694694            } else {
    695                 wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'user_meta', 'useremail', 'userslugs', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts', ' blog-id-cache' ) );
     695                wp_cache_add_global_groups( array( 'users', 'userlogins', 'usermeta', 'user_meta', 'useremail', 'userslugs', 'site-transient', 'site-options', 'site-lookup', 'blog-lookup', 'blog-details', 'rss', 'global-posts', 'blog-id-cache' ) );
    696696            }
    697697            wp_cache_add_non_persistent_groups( array( 'comment', 'counts', 'plugins' ) );
Note: See TracChangeset for help on using the changeset viewer.