[buddypress-trac] [BuddyPress] #2377: Create show_hidden argument for bp_has_groups

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Jan 3 18:42:30 UTC 2011


#2377: Create show_hidden argument for bp_has_groups
---------------------------+-----------------------
  Reporter:  boonebgorges  |      Owner:
      Type:  enhancement   |     Status:  new
  Priority:  major         |  Milestone:  1.3
 Component:  Core          |    Version:
Resolution:                |   Keywords:  has-patch
---------------------------+-----------------------

Comment (by DJPaul):

 2377-2 resolves a PHP notice; patch looks good but uncertain about this
 logic in bp_groups_template(). Boone, can you cast your eye over it
 please?

 {{{
 if ( is_site_admin() || ( is_user_logged_in() && $user_id ==
 $bp->loggedin_user->id ) )
                         $show_hidden = true;
 }}}

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2377#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list