Changeset 7097 for branches/2.6/src/includes/users/signups.php
- Timestamp:
- 06/04/2020 09:28:24 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/includes/users/signups.php
r7087 r7097 207 207 // Add error if role is empty 208 208 if ( empty( $to_validate ) ) { 209 bbp_add_error( 'bbp_signup_role_empty', __( '<strong>E RROR</strong>: Empty role.', 'bbpress' ) );209 bbp_add_error( 'bbp_signup_role_empty', __( '<strong>Error</strong>: Empty role.', 'bbpress' ) ); 210 210 } 211 211 212 212 // Add error if posted role is not a valid role 213 213 if ( ! bbp_is_valid_role( $to_validate ) ) { 214 bbp_add_error( 'bbp_signup_role_invalid', __( '<strong>E RROR</strong>: Invalid role.', 'bbpress' ) );214 bbp_add_error( 'bbp_signup_role_invalid', __( '<strong>Error</strong>: Invalid role.', 'bbpress' ) ); 215 215 } 216 216
Note: See TracChangeset
for help on using the changeset viewer.