Commit ad8988f8 authored by John James Jacoby's avatar John James Jacoby Committed by GitHub
Browse files

Merge pull request #2 from felixarntz/cache-global-group

wrap wp_cache_add_global_groups() in function_exists clause
parents 418118bd 606a18f9
......@@ -43,7 +43,9 @@ function _wp_blog_meta() {
}
// Register global cache group
wp_cache_add_global_groups( array( 'blog_meta' ) );
if ( function_exists( 'wp_cache_add_global_groups' ) ) {
wp_cache_add_global_groups( array( 'blog_meta' ) );
}
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment