Skip to:
Content

BuddyPress.org

Changeset 11268


Ignore:
Timestamp:
12/05/2016 10:11:21 PM (8 years ago)
Author:
slaffik
Message:

Standardize front and back end verbiage.

Use "back end" as a noun, "back-end" as an adjective for better conformity with WordPress best practices. Same for "front end" and "front-end".

Props netweb.
Fixes #7289.

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-functions.php

    r11256 r11268  
    407407 *     An associative array of tracking parameters. All items are optional.
    408408 *     @type string   $bp_activity_admin_filter String to use in the Dashboard > Activity dropdown.
    409  *     @type string   $bp_activity_front_filter String to use in frontend dropdown.
     409 *     @type string   $bp_activity_front_filter String to use in the front-end dropdown.
    410410 *     @type string   $bp_activity_new_post     String format to use for generating the activity action. Should be a
    411411 *                                              translatable string where %1$s is replaced by a user link and %2$s is
  • trunk/src/bp-blogs/bp-blogs-activity.php

    r11256 r11268  
    833833    //
    834834    // @todo since this is done after AJAX posting, the activity comment permalink
    835     // doesn't change on the frontend until the next page refresh.
     835    // doesn't change on the front end until the next page refresh.
    836836    $resave_activity = new BP_Activity_Activity( $comment_id );
    837837    $resave_activity->primary_link = get_comment_link( $post_comment_id );
  • trunk/src/bp-groups/bp-groups-admin.php

    r11186 r11268  
    10641064                        echo esc_html( $type->labels['singular_name'] );
    10651065                        if ( in_array( $type->name, $backend_only ) ) {
    1066                             printf( ' <span class="description">%s</span>', esc_html__( '(Not available on the frontend)', 'buddypress' ) );
     1066                            printf( ' <span class="description">%s</span>', esc_html__( '(Not available on the front end)', 'buddypress' ) );
    10671067                        }
    10681068                    ?>
  • trunk/src/bp-groups/classes/class-bp-groups-widget.php

    r11126 r11268  
    4747
    4848    /**
    49      * Extends our frontend output method.
     49     * Extends our front-end output method.
    5050     *
    5151     * @since 1.0.3
  • trunk/src/bp-members/classes/class-bp-members-admin.php

    r11256 r11268  
    10411041                     * In configs where BuddyPress is not network activated,
    10421042                     * regular admins cannot mark a user as a spammer on front
    1043                      * end. This prevent them to do it in backend.
     1043                     * end. This prevent them to do it in the back end.
    10441044                     *
    10451045                     * Also prevent admins from marking themselves or other
  • trunk/src/bp-messages/classes/class-bp-messages-notice.php

    r11028 r11268  
    260260
    261261    /**
    262      * Returns the active notice that should be displayed on the frontend.
     262     * Returns the active notice that should be displayed on the front end.
    263263     *
    264264     * @since 1.0.0
Note: See TracChangeset for help on using the changeset viewer.