Changeset 5608
- Timestamp:
- 01/30/2015 05:16:17 PM (11 years ago)
- Location:
- trunk/src/includes/core
- Files:
-
- 2 edited
-
template-functions.php (modified) (1 diff)
-
theme-compat.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/template-functions.php
r5466 r5608 314 314 // Add 'bbp_template_stack' to the current filter array 315 315 $wp_current_filter[] = $tag; 316 317 // Bail if no stack setup 318 if ( empty( $wp_filter[ $tag ] ) ) { 319 return array(); 320 } 316 321 317 322 // Sort -
trunk/src/includes/core/theme-compat.php
r5470 r5608 101 101 } 102 102 103 // Set the active theme compat theme 104 $bbp->theme_compat->theme = $bbp->theme_compat->packages[$theme]; 103 // Try to set the active theme compat theme. If it's not in the registered 104 // packages array, it doesn't exist, so do nothing with it. 105 if ( isset( $bbp->theme_compat->packages[$theme] ) ) { 106 $bbp->theme_compat->theme = $bbp->theme_compat->packages[$theme]; 107 } 105 108 } 106 109
Note: See TracChangeset
for help on using the changeset viewer.