Ticket #5211: 5211.01.patch
| File 5211.01.patch, 827 bytes (added by , 13 years ago) |
|---|
-
bp-core/bp-core-catchuri.php
function bp_get_canonical_url( $args = array() ) { 628 628 $front_page_component = array_search( $page_on_front, bp_core_get_directory_page_ids() ); 629 629 630 630 // If requesting the front page component directory, canonical 631 // URL is the front page 632 if ( false !== $front_page_component && is_page( $page_on_front ) ) {631 // URL is the front page (except on sitewide activity feed) 632 if ( false !== $front_page_component && is_page( $page_on_front ) && ! bp_is_current_action( 'feed' ) ) { 633 633 $bp->canonical_stack['canonical_url'] = trailingslashit( bp_get_root_domain() ); 634 634 635 635 // Except when the front page is set to the registration page
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)