Changeset 6032 for trunk/src/includes/topics/functions.php
- Timestamp:
- 05/25/2016 01:23:29 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/functions.php
r6027 r6032 389 389 390 390 // What's the caps? 391 if ( current_user_can( 'moderate' ) ) {391 if ( current_user_can( 'moderate', $topic_id ) ) { 392 392 393 393 // What's the haps? … … 428 428 429 429 // User can moderate, so redirect to topic with view all set 430 if ( current_user_can( 'moderate' ) ) {430 if ( current_user_can( 'moderate', $topic_id ) ) { 431 431 $redirect_url = bbp_add_view_all( $redirect_url ); 432 432 … … 760 760 761 761 // What's the caps? 762 if ( current_user_can( 'moderate' ) ) {762 if ( current_user_can( 'moderate', $topic_id ) ) { 763 763 764 764 // What's the haps?
Note: See TracChangeset
for help on using the changeset viewer.