How do I change Username Error Message on a MultiSite Setup
-
WordPress network usernames on multisite setups cannot contain anything but lowercase letters and numbers. If a user tries to input a username with the disallowed characters, the error message is ” Please remove tags, octets and entities from login” My users don’t understand this message. How do I change this? I use the Master Study LMS on my website with its theme: https://docs.stylemixthemes.com/masterstudy-lms-starter-theme
I researched this and found that I can use filters to change this wpmu validate filter here: https://github.com/WordPress/WordPress/blob/d3bdd3911cee4ec7cabff5c79de2bb0260d18635/wp-includes/ms-functions.php#L570
and an example here: How to modify only part of a function through the filter
But I don’t know how to go about this for my case.
The page I need help with: [log in to see the link]
- The topic ‘How do I change Username Error Message on a MultiSite Setup’ is closed to new replies.