Changeset 1601 for branches/1.0/bp-core.php
- Timestamp:
- 07/14/2009 08:08:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/bp-core.php
r1561 r1601 1223 1223 */ 1224 1224 function bp_core_get_buddypress_themes() { 1225 global $wp_themes; 1226 1227 /* Remove the cached WP themes first */ 1228 $wp_existing_themes = &$wp_themes; 1229 $wp_themes = null; 1230 1225 1231 add_filter( 'theme_root', 'bp_core_filter_buddypress_theme_root' ); 1226 1232 $themes = get_themes(); … … 1238 1244 } 1239 1245 } 1246 1247 /* Restore the cached WP themes */ 1248 $wp_themes = $wp_existing_themes; 1240 1249 1241 1250 return $member_themes;
Note: See TracChangeset
for help on using the changeset viewer.