Changeset 5246 for branches/1.5
- Timestamp:
- 10/15/2011 11:19:52 AM (13 years ago)
- Location:
- branches/1.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5
-
branches/1.5/bp-forums/bp-forums-functions.php
r5244 r5246 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.