Skip to:
Content

BuddyPress.org

Changeset 2489


Ignore:
Timestamp:
01/31/2010 01:16:30 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1733 props MrMaz

File:
1 edited

Legend:

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

    r2474 r2489  
    255255
    256256    // If the template file doesn't exist, redirect to the root domain.
    257     if ( !bp_is_blog_page() && !file_exists( locate_template( array( $bp_path . '.php' ), false ) ) )
     257    if ( !bp_is_blog_page() && !file_exists( apply_filters( 'bp_located_template', locate_template( array( $bp_path . '.php' ), false ), $bp_path ) ) )
    258258        bp_core_redirect( $bp->root_domain );
    259259
Note: See TracChangeset for help on using the changeset viewer.