Skip to:
Content

BuddyPress.org

Changeset 1930


Ignore:
Timestamp:
09/23/2009 01:26:50 AM (15 years ago)
Author:
apeatling
Message:

Fixes #954

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-catchuri.php

    r1905 r1930  
    217217            $wp_query->is_page = true;
    218218    }
    219 
    220 
    221     if ( $located_template = locate_template( array( $page . '.php' ) ) ) {
     219   
     220    if ( $located_template = apply_filters( 'bp_located_template', locate_template( array( $page . '.php' ), $page ) ) ) {
    222221        load_template( apply_filters( 'bp_load_template', $located_template ) );
    223222    } else {
Note: See TracChangeset for help on using the changeset viewer.