Skip Navigation

[Resolved] Reset Toolset login form error messages to wordpress login defaults

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Supporter timezone: Pacific/Easter (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Ilyes 5 months, 3 weeks ago.

Assisted by: Ilyes.

Author
Posts
#2699801

Hello,

hidden link

I would like the errors to be the same as wordpress default.
Right now for instance a unregistered email will give me a "Unknown error".
The default wordpress errors seem to fit my needs.

How can this be achieved?

Thanks,

Jacques

#2699814

Ilyes
Supporter

Timezone: Pacific/Easter (GMT-05:00)

Hello,

Thank you for contacting Toolset support team,

You could achieve this through a custom function detailed here : https://toolset.com/forums/topic/toolset-login-form-custom-error-message/

In that code, The "incorrect password" message should become "The information you entered is incorrect." instead of "The password you entered for the username someone@gmail.com is incorrect."

The "unknown error" message should become "There was an unexpected error, please try again." instead of "Unknown error."

You can customize these example messages in the code snippet if you'd like to display different messages.

Best,

#2700267

Wordked,

Thanks a lot,

Jacques