Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/01/2010 03:39:14 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1733

File:
1 edited

Legend:

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

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