Changeset 3506 for branches/plugin/bbp-includes/bbp-reply-template.php
- Timestamp:
- 09/11/2011 07:13:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-reply-template.php
r3505 r3506 84 84 // What are the default allowed statuses (based on user caps) 85 85 if ( bbp_get_view_all( 'edit_others_replies' ) ) { 86 $default_status = join( ',', array( bbp_get_public_status_id(), bbp_get_closed_status_id(), bbp_get_spam_status_id(), 'trash') );86 $default_status = join( ',', array( bbp_get_public_status_id(), bbp_get_closed_status_id(), bbp_get_spam_status_id(), bbp_get_trash_status_id() ) ); 87 87 } 88 88 } … … 1380 1380 1381 1381 // Trash link shouldn't be visible on spam topics 1382 elseif ( isset( $r['links']['trash'] ) && $reply_status == bbp_get_spam_status_id() )1382 elseif ( isset( $r['links']['trash'] ) && ( bbp_get_spam_status_id() == $reply_status ) ) 1383 1383 unset( $r['links']['trash'] ); 1384 1384 }
Note: See TracChangeset
for help on using the changeset viewer.