Changeset 9002 for trunk/src/bp-core/bp-core-template.php
- Timestamp:
- 09/10/2014 09:59:19 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-template.php
r8969 r9002 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
Note: See TracChangeset
for help on using the changeset viewer.