wp-cli / entity-command

Manage WordPress comments, menus, options, posts, sites, terms, and users.
MIT License
100 stars 90 forks source link

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

Closed ernilambar closed 3 months ago

ernilambar commented 8 months ago

Fixes https://github.com/wp-cli/entity-command/issues/472

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 commented 8 months ago

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

ernilambar commented 3 months ago

Closing. We could explore more robust approach if needed.