diff --git a/src/bp-core/bp-core-template-loader.php b/src/bp-core/bp-core-template-loader.php
index b8c1a5b..bc618fe 100644
|
a
|
b
|
function bp_get_asset_template_part( $slug, $name = null ) { |
| 97 | 97 | */ |
| 98 | 98 | function bp_locate_template( $template_names, $load = false, $require_once = true ) { |
| 99 | 99 | |
| | 100 | // Bail when there are no templates to locate. |
| | 101 | if ( empty( $template_names ) ) { |
| | 102 | return ''; |
| | 103 | } |
| | 104 | |
| 100 | 105 | // No file found yet. |
| 101 | 106 | $located = false; |
| 102 | 107 | $template_locations = bp_get_template_stack(); |