Changeset 6752 for trunk/bp-core/bp-core-cache.php
- Timestamp:
- 01/25/2013 05:09:03 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cache.php
r6496 r6752 17 17 */ 18 18 function bp_core_clear_cache() { 19 global $cache_path , $cache_filename;19 global $cache_path; 20 20 21 21 if ( function_exists( 'prune_super_cache' ) ) { … … 31 31 */ 32 32 function bp_core_add_global_group() { 33 wp_cache_init(); 34 wp_cache_add_global_groups( array( 'bp' ) ); 33 if ( function_exists( 'wp_cache_add_global_groups' ) ) { 34 wp_cache_add_global_groups( array( 'bp' ) ); 35 } 35 36 } 36 37 add_action( 'bp_loaded', 'bp_core_add_global_group' );
Note: See TracChangeset
for help on using the changeset viewer.