Changeset 4140
- Timestamp:
- 03/13/2011 12:22:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cache.php
r4139 r4140 17 17 global $cache_path, $cache_filename; 18 18 19 // WP Super Cache20 19 if ( function_exists( 'prune_super_cache' ) ) { 21 20 do_action( 'bp_core_clear_cache' ); 22 21 return prune_super_cache( $cache_path, true ); 23 24 // W3 Total Cache25 } elseif ( function_exists( 'w3tc_pgcache_flush' ) ) {26 do_action( 'bp_core_clear_cache' );27 return w3tc_pgcache_flush();28 22 } 29 23 }
Note: See TracChangeset
for help on using the changeset viewer.