[buddypress-trac] [BuddyPress Trac] #7936: joinleave_group not working on private Group

buddypress-trac noreply at wordpress.org
Wed Jul 25 14:36:51 UTC 2018


#7936: joinleave_group not working on private Group
--------------------------+------------------------------
 Reporter:  ravipatel     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  Awaiting Review
Component:  Groups        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by ravipatel):

 {{{#!php
 <?php
 if ( bp_current_user_can( 'groups_join_group', array( 'group_id' =>
 $group->id ) ) ) {

                         check_ajax_referer( 'groups_join_group' );
 }}}


 Not working

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7936#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list