Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/04/2020 09:29:53 PM (2 years ago)
Author:
johnjamesjacoby
Message:

Accessibility: Text Changes: Use sentence case for the word "Error" in various error messages, instead of all caps.

Using all caps should be avoided for better readability, and because screen readers may pronounce all-caps words as abbreviations.

Related to [WP47156], #WP47656, #WP43037, #WP42945.

Props casiepa, man4toman, mmeet94, SergeyBiryukov, afercia, ryokuhi, sabernhardt, garrett-eclipse.

In trunk, for 2.7.0.

Fixes #3333, #3377.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/users/signups.php

    r7086 r7098  
    221221    // Add error if role is empty
    222222    if ( empty( $to_validate ) ) {
    223         bbp_add_error( 'bbp_signup_role_empty', __( '<strong>ERROR</strong>: Empty role.', 'bbpress' ) );
     223        bbp_add_error( 'bbp_signup_role_empty', __( '<strong>Error</strong>: Empty role.', 'bbpress' ) );
    224224    }
    225225
    226226    // Add error if posted role is not a valid role
    227227    if ( ! bbp_is_valid_role( $to_validate ) ) {
    228         bbp_add_error( 'bbp_signup_role_invalid', __( '<strong>ERROR</strong>: Invalid role.', 'bbpress' ) );
     228        bbp_add_error( 'bbp_signup_role_invalid', __( '<strong>Error</strong>: Invalid role.', 'bbpress' ) );
    229229    }
    230230
Note: See TracChangeset for help on using the changeset viewer.