Ticket #6153: 6153.01.patch
| File 6153.01.patch, 763 bytes (added by , 12 years ago) |
|---|
-
src/bp-core/bp-core-theme-compatibility.php
848 848 function bp_theme_compat_toggle_is_page( $retval = '' ) { 849 849 global $wp_query; 850 850 851 $wp_query->is_single = false; 852 $wp_query->is_page = false; 851 $wp_query->is_page = false; 853 852 854 853 // Set a switch so we know that we've toggled these WP_Query properties 855 854 buddypress()->theme_compat->is_page_toggled = true; … … 877 876 } 878 877 879 878 // Revert our toggled WP_Query properties 880 $query->is_single = true; 881 $query->is_page = true; 879 $query->is_page = true; 882 880 883 881 // Unset our switch 884 882 unset( $bp->theme_compat->is_page_toggled );
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)