Ticket #4429: 4429.patch
File 4429.patch, 720 bytes (added by , 12 years ago) |
---|
-
bp-activity/bp-activity-template.php
2232 2232 if ( 'activity_comment' == bp_get_activity_action_name() ) 2233 2233 $can_comment = false; 2234 2234 2235 if ( bp_group_is_user_banned() ) 2236 $can_comment = false; 2237 2235 2238 return apply_filters( 'bp_activity_can_comment', $can_comment ); 2236 2239 } 2237 2240 … … 2249 2252 function bp_activity_can_comment_reply( $comment ) { 2250 2253 $can_comment = true; 2251 2254 2255 if ( bp_group_is_user_banned() ) 2256 $can_comment = false; 2257 2252 2258 return apply_filters( 'bp_activity_can_comment_reply', $can_comment, $comment ); 2253 2259 } 2254 2260