diff --git src/bp-core/bp-core-template.php src/bp-core/bp-core-template.php
index d72f762..c86efdb 100644
|
|
|
function bp_is_groups_directory() { |
| 1926 | 1926 | * @return bool True if the current page is part of a single group. |
| 1927 | 1927 | */ |
| 1928 | 1928 | function bp_is_group() { |
| 1929 | | return (bool) ( bp_is_groups_component() && groups_get_current_group() ); |
| | 1929 | $retval = bp_is_active( 'groups' ); |
| | 1930 | |
| | 1931 | if ( ! empty( $retval ) ) { |
| | 1932 | $retval = bp_is_groups_component() && groups_get_current_group(); |
| | 1933 | } |
| | 1934 | |
| | 1935 | return (bool) $retval; |
| 1930 | 1936 | } |
| 1931 | 1937 | |
| 1932 | 1938 | /** |