Changeset 11092
- Timestamp:
- 09/13/2016 03:59:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-theme-compatibility.php
r10899 r11092 958 958 global $wp_query; 959 959 960 $wp_query->is_page = false; 961 962 // Set a switch so we know that we've toggled these WP_Query properties. 963 buddypress()->theme_compat->is_page_toggled = true; 960 if ( $wp_query->is_page ) { 961 $wp_query->is_page = false; 962 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;
Note: See TracChangeset
for help on using the changeset viewer.