diff --git src/bp-core/bp-core-template.php src/bp-core/bp-core-template.php
index 23d294282..e4d402b5a 100644
|
|
|
function bp_is_site_home() { |
| 1950 | 1950 | $home_url = wp_parse_url( $home_url, PHP_URL_PATH ); |
| 1951 | 1951 | } |
| 1952 | 1952 | |
| 1953 | | return $home_url === $requested_url; |
| | 1953 | $requested_path = wp_parse_url( $requested_url, PHP_URL_PATH ); |
| | 1954 | $home_path = wp_parse_url( $home_url, PHP_URL_PATH ); |
| | 1955 | |
| | 1956 | return trailingslashit( (string) $home_path ) === trailingslashit( (string) $requested_path ); |
| 1954 | 1957 | } |
| 1955 | 1958 | |
| 1956 | 1959 | /** |