Ticket #6228: bp-groups-template-6228.diff
| File bp-groups-template-6228.diff, 1.9 KB (added by , 11 years ago) |
|---|
-
src/bp-groups/bp-groups-template.php
3676 3676 return true; 3677 3677 } elseif ( $tick == $this->member_count ) { 3678 3678 3679 do_action( 'loop_end' ); 3679 /** 3680 * Fires right before the rewinding of members list. 3681 * 3682 * @since BuddyPress (1.0.0) 3683 * 3684 * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. 3685 */ 3686 do_action( 'loop_end', $this ); 3680 3687 // Do some cleaning up after the loop 3681 3688 $this->rewind_members(); 3682 3689 } … … 3691 3698 3692 3699 // loop has just started 3693 3700 if ( 0 == $this->current_member ) { 3694 do_action( 'loop_start' ); 3701 3702 /** 3703 * Fires if the current member item is the first in the members list. 3704 * 3705 * @since BuddyPress (1.0.0) 3706 * 3707 * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. 3708 */ 3709 do_action( 'loop_start', $this ); 3695 3710 } 3696 3711 } 3697 3712 } … … 5300 5315 if ( $tick < $this->invite_count ) { 5301 5316 return true; 5302 5317 } elseif ( $tick == $this->invite_count ) { 5303 do_action( 'loop_end' ); 5318 5319 /** 5320 * Fires right before the rewinding of invites list. 5321 * 5322 * @since BuddyPress (1.1.0) 5323 * 5324 * @param BP_Groups_Invite_Template $this Instance of the current Invites template. 5325 */ 5326 do_action( 'loop_end', $this ); 5304 5327 // Do some cleaning up after the loop 5305 5328 $this->rewind_invites(); 5306 5329 } … … 5349 5372 5350 5373 // loop has just started 5351 5374 if ( 0 == $this->current_invite ) { 5352 do_action( 'loop_start' ); 5375 5376 /** 5377 * Fires if the current invite item is the first in the loop. 5378 * 5379 * @since BuddyPress (1.1.0) 5380 * 5381 * @param BP_Groups_Invite_Template $this Instance of the current Invites template. 5382 */ 5383 do_action( 'loop_start', $this ); 5353 5384 } 5354 5385 } 5355 5386 }