Changeset 3506 for branches/plugin/bbp-admin/bbp-replies.php
- Timestamp:
- 09/11/2011 07:13:19 AM (14 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-admin/bbp-replies.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-replies.php
r3505 r3506 674 674 675 675 // User cannot view replies in trash 676 if ( ( 'trash'== $reply->post_status ) && !current_user_can( 'view_trash' ) )676 if ( ( bbp_get_trash_status_id() == $reply->post_status ) && !current_user_can( 'view_trash' ) ) 677 677 unset( $actions['view'] ); 678 678 … … 732 732 733 733 // Add Empty Spam button 734 if ( !empty( $_GET['post_status'] ) && ( 'spam'== $_GET['post_status'] ) && current_user_can( 'moderate' ) ) {734 if ( !empty( $_GET['post_status'] ) && ( bbp_get_spam_status_id() == $_GET['post_status'] ) && current_user_can( 'moderate' ) ) { 735 735 wp_nonce_field( 'bulk-destroy', '_destroy_nonce' ); 736 736 $title = esc_attr__( 'Empty Spam', 'bbpress' );
Note: See TracChangeset
for help on using the changeset viewer.