Changeset 13694
- Timestamp:
- 01/13/2024 10:00:44 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-catchuri.php
r13686 r13694 194 194 195 195 // Check if a BuddyPress component's direcory is set as homepage. 196 $wp_query->is_home = bp_is_directory_homepage( bp_current_component() ); 196 if ( bp_is_directory_homepage( bp_current_component() ) ) { 197 $wp_query->home = true; 198 $wp_query->is_front_page = true; 199 } 197 200 } 198 201
Note: See TracChangeset
for help on using the changeset viewer.