# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: \\UBU\www\sandbox2\public_html\wp-content\plugins\buddypress\bp-core
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
254 | 254 | bp_core_redirect( $bp->root_domain ); |
255 | 255 | |
256 | 256 | // 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 ) ) ) |
258 | | No newline at end of file |
| 257 | if ( !bp_is_blog_page() && !file_exists( apply_filters( 'bp_located_template', locate_template( array( $bp_path . '.php' ), false ), $bp_path ) ) ) |
| 258 | No newline at end of file |
259 | 259 | bp_core_redirect( $bp->root_domain ); |
260 | 260 | |