diff --git src/bp-core/bp-core-theme-compatibility.php src/bp-core/bp-core-theme-compatibility.php
index ea83317..117d158 100644
|
|
function bp_comments_open( $open, $post_id = 0 ) { |
957 | 957 | function bp_theme_compat_toggle_is_page( $retval = '' ) { |
958 | 958 | global $wp_query; |
959 | 959 | |
960 | | $wp_query->is_page = false; |
| 960 | if ( $wp_query->is_page ) { |
| 961 | $wp_query->is_page = false; |
961 | 962 | |
962 | | // Set a switch so we know that we've toggled these WP_Query properties. |
963 | | buddypress()->theme_compat->is_page_toggled = true; |
| 963 | // Set a switch so we know that we've toggled these WP_Query properties. |
| 964 | buddypress()->theme_compat->is_page_toggled = true; |
| 965 | } |
964 | 966 | |
965 | 967 | return $retval; |
966 | 968 | } |