Changeset 6140
- Timestamp:
- 12/08/2016 03:48:41 PM (8 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/forums.php
r6056 r6140 498 498 // What is the user doing here? 499 499 if ( ! current_user_can( 'keep_gate', $forum->ID ) ) { 500 wp_die( __( 'You do not have the permission to do that !', 'bbpress' ) );500 wp_die( __( 'You do not have the permission to do that.', 'bbpress' ) ); 501 501 } 502 502 -
trunk/src/includes/admin/replies.php
r6102 r6140 609 609 // What is the user doing here? 610 610 if ( !current_user_can( 'moderate', $reply->ID ) ) { 611 wp_die( __( 'You do not have the permission to do that !', 'bbpress' ) );611 wp_die( __( 'You do not have the permission to do that.', 'bbpress' ) ); 612 612 } 613 613 -
trunk/src/includes/admin/topics.php
r6102 r6140 660 660 // What is the user doing here? 661 661 if ( !current_user_can( 'moderate', $topic->ID ) ) { 662 wp_die( __( 'You do not have the permission to do that !', 'bbpress' ) );662 wp_die( __( 'You do not have the permission to do that.', 'bbpress' ) ); 663 663 } 664 664 -
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 } -
trunk/src/includes/topics/functions.php
r6086 r6140 283 283 284 284 if ( ! bbp_check_for_duplicate( array( 'post_type' => bbp_get_topic_post_type(), 'post_author' => $topic_author, 'post_content' => $topic_content, 'anonymous_data' => $anonymous_data ) ) ) { 285 bbp_add_error( 'bbp_topic_duplicate', __( '<strong>ERROR</strong>: Duplicate topic detected; it looks as though you’ve already said that !', 'bbpress' ) );285 bbp_add_error( 'bbp_topic_duplicate', __( '<strong>ERROR</strong>: Duplicate topic detected; it looks as though you’ve already said that.', 'bbpress' ) ); 286 286 } 287 287
Note: See TracChangeset
for help on using the changeset viewer.