Changeset 13522
- Timestamp:
- 07/20/2023 03:07:17 AM (17 months ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-component.php
r13503 r13522 482 482 } 483 483 484 if ( bp_is_directory_homepage( $this->id ) ) {484 if ( home_url( '/' ) === bp_get_requested_url() && bp_is_directory_homepage( $this->id ) ) { 485 485 $query->set( $this->rewrite_ids['directory'], 1 ); 486 486 } -
trunk/src/bp-blogs/classes/class-bp-blogs-component.php
r13505 r13522 461 461 $bp = buddypress(); 462 462 463 if ( bp_is_directory_homepage( $this->id ) ) {463 if ( home_url( '/' ) === bp_get_requested_url() && bp_is_directory_homepage( $this->id ) ) { 464 464 $query->set( $this->rewrite_ids['directory'], 1 ); 465 465 } -
trunk/src/bp-core/bp-core-catchuri.php
r13471 r13522 564 564 */ 565 565 if ( false !== $front_page_component && bp_is_current_component( $front_page_component ) && ! bp_current_action() && ! bp_get_current_member_type() ) { 566 $bp->canonical_stack['canonical_url'] = bp_get_root_url();566 $bp->canonical_stack['canonical_url'] = trailingslashit( bp_get_root_url() ); 567 567 568 568 // Except when the front page is set to the registration page -
trunk/src/bp-core/bp-core-filters.php
r13503 r13522 977 977 978 978 $post = (object) array( 979 'ID' => $directory->id,979 'ID' => (int) $directory->id, 980 980 'post_author' => 0, 981 981 'post_date' => $null, -
trunk/src/bp-groups/classes/class-bp-groups-component.php
r13521 r13522 1053 1053 } 1054 1054 1055 if ( bp_is_directory_homepage( $this->id ) ) {1055 if ( home_url( '/' ) === bp_get_requested_url() && bp_is_directory_homepage( $this->id ) ) { 1056 1056 $query->set( $this->rewrite_ids['directory'], 1 ); 1057 1057 } -
trunk/src/bp-members/classes/class-bp-members-component.php
r13512 r13522 791 791 } 792 792 793 if ( bp_is_directory_homepage( $this->id ) ) {793 if ( home_url( '/' ) === bp_get_requested_url() && bp_is_directory_homepage( $this->id ) ) { 794 794 $query->set( $this->rewrite_ids['directory'], 1 ); 795 795 }
Note: See TracChangeset
for help on using the changeset viewer.