Ticket #7608: 7608.revert.patch
File 7608.revert.patch, 481 bytes (added by , 7 years ago) |
---|
-
src/bp-groups/bp-groups-template.php
485 485 $group =& $groups_template->group; 486 486 } 487 487 488 if ( ! empty( $group->is_visible )) {488 if ( 'public' === $group->status ) { 489 489 return true; 490 } else { 491 if ( groups_is_user_member( bp_loggedin_user_id(), $group->id ) ) { 492 return true; 493 } 490 494 } 491 495 492 496 return false;