diff --git src/bp-core/bp-core-filters.php src/bp-core/bp-core-filters.php
index 080ab60..cf78dcf 100644
|
|
|
function bp_modify_page_title( $title = '', $sep = '»', $seplocation = 'ri |
| 571 | 571 | * @link https://buddypress.trac.wordpress.org/ticket/6107 |
| 572 | 572 | * @see wp_title() |
| 573 | 573 | */ |
| 574 | | $title_tag_compatibility = (bool) ( ! empty( $_wp_theme_features['title-tag'] ) || strstr( $title, $blogname ) ); |
| | 574 | $title_tag_compatibility = (bool) ( ! empty( $_wp_theme_features['title-tag'] ) || ( ! empty( $blogname ) && strstr( $title, $blogname ) ) ); |
| 575 | 575 | |
| 576 | 576 | // Append the site title to title parts if theme supports title tag. |
| 577 | 577 | if ( true === $title_tag_compatibility ) { |