- Timestamp:
- 10/15/2011 11:16:27 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-functions.php
r5243 r5245 202 202 extract( $r, EXTR_SKIP ); 203 203 204 // Check if the user is a spammer 205 if ( bp_core_is_user_spammer( $bp->loggedin_user->id ) || bp_core_is_user_deleted( $bp->loggedin_user->id ) ) 206 return false; 207 204 208 // bb_insert_topic() will append tags, but not remove them. So we remove all existing tags. 205 209 bb_remove_topic_tags( $topic_id ); … … 511 515 return false; 512 516 513 if ( bp_core_is_user_spammer( $ poster_id ) || bp_core_is_user_deleted( $poster_id ) )517 if ( bp_core_is_user_spammer( $bp->loggedin_user->id ) || bp_core_is_user_deleted( $bp->loggedin_user->id ) ) 514 518 return false; 515 519
Note: See TracChangeset
for help on using the changeset viewer.