Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove HTML tags from error message when creating user in multisite #473

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ernilambar
Copy link
Contributor

Fixes #472

  • Remove HTML tags from error message when creating user in multisite

Before, error message is like this:

Error: <strong>Error:</strong> This email address is already registered. <a href="http://bahu.local/wp-login.php">Log in</a> with this address or choose another one.

After:

Error: This email address is already registered. Log in with this address or choose another one.

@ernilambar ernilambar requested a review from a team as a code owner February 21, 2024 10:48
src/User_Command.php Outdated Show resolved Hide resolved
@ernilambar
Copy link
Contributor Author

In WP 3.7 was Sorry, that email address is already used!. So, GitHub actions are not passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve message in error trying to create user with existing email in multisite
2 participants