Changeset 5510 for trunk/src/includes/admin/metaboxes.php
- Timestamp:
- 09/11/2014 03:11:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/metaboxes.php
r5464 r5510 473 473 $reply_topic_id = bbp_get_reply_topic_id( $post_id ); 474 474 $reply_forum_id = bbp_get_reply_forum_id( $post_id ); 475 475 $topic_forum_id = bbp_get_topic_forum_id( $reply_topic_id ); 476 476 477 477 /** Status ****************************************************************/ … … 491 491 /** Forum *****************************************************************/ 492 492 493 // Allow individual manipulation of reply forum494 if ( current_user_can( 'edit_others_replies' ) || current_user_can( 'moderate') ) : ?>493 // Only allow individual manipulation of reply forum if there is a mismatch 494 if ( ( $reply_forum_id !== $topic_forum_id ) && ( current_user_can( 'edit_others_replies' ) || current_user_can( 'moderate' ) ) ) : ?> 495 495 496 496 <p>
Note: See TracChangeset
for help on using the changeset viewer.