Changeset 6384 for trunk/src/includes/admin/replies.php
- Timestamp:
- 03/20/2017 10:44:00 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/replies.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/replies.php
r6312 r6384 426 426 427 427 // Current user cannot edit this reply 428 if ( ! current_user_can( 'edit_reply', $reply_id ) ) {428 if ( ! current_user_can( 'edit_reply', $reply_id ) ) { 429 429 return $reply_id; 430 430 } … … 487 487 488 488 // What is the user doing here? 489 if ( ! current_user_can( 'moderate', $reply->ID ) ) {489 if ( ! current_user_can( 'moderate', $reply->ID ) ) { 490 490 wp_die( __( 'You do not have permission to do that.', 'bbpress' ) ); 491 491 }
Note: See TracChangeset
for help on using the changeset viewer.