Skip to:
Content

bbPress.org

Ticket #2277: template-functions.php.patch

File template-functions.php.patch, 537 bytes (added by MZAWeb, 9 years ago)
  • includes/core/template-functions.php

     
    9090        }
    9191
    9292        // Maybe load the template if one was located
    93         if ( ( true == $load ) && !empty( $located ) )
     93        if ( ( true == $load ) && ! empty( $located ) ) {
     94                $located = apply_filters( 'bbp_template_located', $located );
    9495                load_template( $located, $require_once );
     96        }
    9597
    9698        return $located;
    9799}