Skip to:
Content

bbPress.org

Changeset 6140


Ignore:
Timestamp:
12/08/2016 03:48:41 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Stop shouting at everyone!

Location:
trunk/src/includes
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/forums.php

    r6056 r6140  
    498498            // What is the user doing here?
    499499            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' ) );
    501501            }
    502502
  • trunk/src/includes/admin/replies.php

    r6102 r6140  
    609609            // What is the user doing here?
    610610            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' ) );
    612612            }
    613613
  • trunk/src/includes/admin/topics.php

    r6102 r6140  
    660660            // What is the user doing here?
    661661            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' ) );
    663663            }
    664664
  • trunk/src/includes/replies/functions.php

    r6139 r6140  
    331331
    332332    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&#8217;ve already said that!', 'bbpress' ) );
     333        bbp_add_error( 'bbp_reply_duplicate', __( '<strong>ERROR</strong>: Duplicate reply detected; it looks as though you&#8217;ve already said that.', 'bbpress' ) );
    334334    }
    335335
     
    16361636    // What is the user doing here?
    16371637    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' ) );
    16391639        return;
    16401640    }
  • trunk/src/includes/topics/functions.php

    r6086 r6140  
    283283
    284284    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&#8217;ve already said that!', 'bbpress' ) );
     285        bbp_add_error( 'bbp_topic_duplicate', __( '<strong>ERROR</strong>: Duplicate topic detected; it looks as though you&#8217;ve already said that.', 'bbpress' ) );
    286286    }
    287287
Note: See TracChangeset for help on using the changeset viewer.