Skip to:
Content

BuddyPress.org

Ticket #954: ticket_954.patch

File ticket_954.patch, 597 bytes (added by DJPaul, 15 years ago)
  • bp-core/bp-core-catchuri.php

     
    210210
    211211        if ( $located_template = locate_template( array( $page . '.php' ) ) ) {
    212212                load_template( apply_filters( 'bp_load_template', $located_template ) );
     213        } else if ( $located_template = do_action( 'bp_check_plugin_template' ) ) {
     214                load_template( $located_template );
    213215        } else {
    214216                if ( $located_template = locate_template( array( '404.php' ) ) ) {
    215217                        status_header( 404 );