Changeset 6285 for trunk/bp-core/bp-core-catchuri.php
- Timestamp:
- 09/03/2012 12:33:13 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-catchuri.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r6259 r6285 370 370 } 371 371 372 // Define local variables 373 $located_template = false; 372 // Fetch each template and add the php suffix 374 373 $filtered_templates = array(); 375 376 // Fetch each template and add the php suffix 377 foreach ( (array) $templates as $template ) 374 foreach ( (array) $templates as $template ) { 378 375 $filtered_templates[] = $template . '.php'; 376 } 379 377 380 378 // Filter the template locations so that plugins can alter where they are located … … 392 390 393 391 do_action( 'bp_core_post_load_template', $located_template ); 394 } 395 396 // Kill any other output after this. 397 die; 392 393 // Kill any other output after this. 394 exit(); 395 396 // No template found, so setup theme compatability 397 // @todo Some other 404 handling if theme compat doesn't kick in 398 } else { 399 do_action( 'bp_setup_theme_compat' ); 400 } 398 401 } 399 402
Note: See TracChangeset
for help on using the changeset viewer.