Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/08/2016 04:14:17 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Even less shouting, plus a grammar sweep.

  • Remove contractions
  • Update weird sounding English phrases (like "the permissions" to "permission")
  • Simplify some phrases to be less wordy
  • Update "permission" error codes to all use "permission" instead of also "permissions"
  • Add comma to "Oh bother!". See: https://www.youtube.com/watch?v=Fhl4oKvxphs
File:
1 edited

Legend:

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

    r6135 r6141  
    143143    // User cannot create forums
    144144    if ( !current_user_can( 'publish_forums' ) ) {
    145         bbp_add_error( 'bbp_forum_permissions', __( '<strong>ERROR</strong>: You do not have permission to create new forums.', 'bbpress' ) );
     145        bbp_add_error( 'bbp_forum_permission', __( '<strong>ERROR</strong>: You do not have permission to create new forums.', 'bbpress' ) );
    146146        return;
    147147    }
     
    423423    // User cannot edit this forum
    424424    } elseif ( !current_user_can( 'edit_forum', $forum_id ) ) {
    425         bbp_add_error( 'bbp_edit_forum_permissions', __( '<strong>ERROR</strong>: You do not have permission to edit that forum.', 'bbpress' ) );
     425        bbp_add_error( 'bbp_edit_forum_permission', __( '<strong>ERROR</strong>: You do not have permission to edit that forum.', 'bbpress' ) );
    426426        return;
    427427    }
Note: See TracChangeset for help on using the changeset viewer.