Skip to content

Commit

Permalink
Allow site path URLs down to 2 characters during validation.
Browse files Browse the repository at this point in the history
See #3218.
  • Loading branch information
boonebgorges committed Sep 13, 2023
1 parent 0cba1f5 commit fee2eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/themes/openlab/js/group-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jQuery( document ).ready(
}

// Check for valid character count.
if ( sitePathEl.value.length < 4 || sitePathEl.value.length > 50 ) {
if ( sitePathEl.value.length < 2 || sitePathEl.value.length > 50 ) {
setFormStatus( form, 'invalid', 'Site URL must be between 4 and 50 characters.', sitePathEl );
return;
}
Expand Down

0 comments on commit fee2eb5

Please sign in to comment.