Changeset 7098 for trunk/src/includes/users/signups.php
- Timestamp:
- 06/04/2020 09:29:53 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/signups.php
r7086 r7098 221 221 // Add error if role is empty 222 222 if ( empty( $to_validate ) ) { 223 bbp_add_error( 'bbp_signup_role_empty', __( '<strong>E RROR</strong>: Empty role.', 'bbpress' ) );223 bbp_add_error( 'bbp_signup_role_empty', __( '<strong>Error</strong>: Empty role.', 'bbpress' ) ); 224 224 } 225 225 226 226 // Add error if posted role is not a valid role 227 227 if ( ! bbp_is_valid_role( $to_validate ) ) { 228 bbp_add_error( 'bbp_signup_role_invalid', __( '<strong>E RROR</strong>: Invalid role.', 'bbpress' ) );228 bbp_add_error( 'bbp_signup_role_invalid', __( '<strong>Error</strong>: Invalid role.', 'bbpress' ) ); 229 229 } 230 230
Note: See TracChangeset
for help on using the changeset viewer.