diff --git bp-core/bp-core-catchuri.php bp-core/bp-core-catchuri.php
index d20ba42..7250e4b 100644
|
|
|
function bp_core_load_template( $templates ) {
|
| 377 | 377 | |
| 378 | 378 | // Filter the template locations so that plugins can alter where they are located |
| 379 | 379 | $located_template = apply_filters( 'bp_located_template', locate_template( (array) $filtered_templates, false ), $filtered_templates ); |
| | 380 | |
| | 381 | if ( 'plugins' == substr( $templates, -7 ) ) { |
| | 382 | buddypress()->is_plugin = true; |
| | 383 | } |
| | 384 | |
| 380 | 385 | if ( !empty( $located_template ) ) { |
| 381 | 386 | |
| 382 | 387 | // Template was located, lets set this as a valid page and not a 404. |
diff --git bp-templates/bp-legacy/buddypress/members/single/home.php bp-templates/bp-legacy/buddypress/members/single/home.php
index 9fcf24e..8b261b7 100644
|
|
|
|
| 24 | 24 | |
| 25 | 25 | <?php do_action( 'bp_before_member_body' ); |
| 26 | 26 | |
| | 27 | if ( ! empty( buddypress()->is_plugin ) ) : |
| | 28 | bp_get_template_part( 'members/single/plugins' ); |
| | 29 | else : |
| | 30 | |
| 27 | 31 | if ( bp_is_user_activity() || !bp_current_component() ) : |
| 28 | 32 | bp_get_template_part( 'members/single/activity' ); |
| 29 | 33 | |
| … |
… |
|
| 54 | 58 | |
| 55 | 59 | endif; |
| 56 | 60 | |
| | 61 | endif; |
| | 62 | |
| 57 | 63 | do_action( 'bp_after_member_body' ); ?> |
| 58 | 64 | |
| 59 | 65 | </div><!-- #item-body --> |