Hi,
Replacing those lines seems to have fixed that particular issue.
I’ve come across some other (related) problems however.
================
Instead of what is set in the plugin I’m getting the default BuddyBoss/BuddyPress error messages for the following scenarios:
Username too short:
[1 character] = “Username must be at least 3 characters” (BuddyBoss)
[2 characters] = “Username must be at least 3 characters” (BuddyBoss)
[3 characters] = “Username must be at least 5 characters.” (plugin)
[4 characters] = “Username must be at least 5 characters.” (plugin)
Username too long:
[16 characters] = “Username may not be longer than 15 characters.” (plugin)
[32 characters] = “Username may not be longer than 15 characters.” (plugin)
[33 characters] = “Username must be shorter than 32 characters.” (BuddyBoss)
[34 characters] = “Username must be shorter than 32 characters.” (BuddyBoss)
Username empty:
[0 characters] = “This is a required field.” (BuddyBoss)
================
Here are more but I realized that there are no options for name and empty password fields in the plugin, even though that would actually be a useful addition.
Name too long:
[33 characters] = “Name must be shorter than 32 characters.” (BuddyBoss)
[34 characters] = “Name must be shorter than 32 characters.” (BuddyBoss)
Name empty:
[0 characters] = “This is a required field.” (BuddyBoss)
Password empty:
[0 characters] = “Please make sure to enter your password.” (BuddyBoss)
[0 characters] = “Please make sure to enter your password twice.” (BuddyBoss)
================
At least in the case of BuddyBoss/BuddyPress the plugin doesn’t seem to successfully overwrite the default error messages.
In fact only the email field seems to be working correctly for both empty and existing values.
I would very much appreciate if you could look into this. I can’t be the only one having these issues.
Thank you!