Changeset 6140 for trunk/src/includes/replies/functions.php
- Timestamp:
- 12/08/2016 03:48:41 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/replies/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r6139 r6140 331 331 332 332 if ( ! bbp_check_for_duplicate( array( 'post_type' => bbp_get_reply_post_type(), 'post_author' => $reply_author, 'post_content' => $reply_content, 'post_parent' => $topic_id, 'anonymous_data' => $anonymous_data ) ) ) { 333 bbp_add_error( 'bbp_reply_duplicate', __( '<strong>ERROR</strong>: Duplicate reply detected; it looks as though you’ve already said that !', 'bbpress' ) );333 bbp_add_error( 'bbp_reply_duplicate', __( '<strong>ERROR</strong>: Duplicate reply detected; it looks as though you’ve already said that.', 'bbpress' ) ); 334 334 } 335 335 … … 1636 1636 // What is the user doing here? 1637 1637 if ( ! current_user_can( 'edit_reply', $reply_id ) || ( 'bbp_toggle_reply_trash' === $action && ! current_user_can( 'delete_reply', $reply_id ) ) ) { 1638 bbp_add_error( 'bbp_toggle_reply_permission', __( '<strong>ERROR:</strong> You do not have the permission to do that !', 'bbpress' ) );1638 bbp_add_error( 'bbp_toggle_reply_permission', __( '<strong>ERROR:</strong> You do not have the permission to do that.', 'bbpress' ) ); 1639 1639 return; 1640 1640 }
Note: See TracChangeset
for help on using the changeset viewer.