Suggestions for error-filter-hooks
|Reported by:||Matthias Reuter||Owned by:|
Dear developer of wordpress,
I am currently developing a new plugin for wordpress and I have some suggestions for new filter-hooks in wordpress:
- function edit_user: It would be nice if you could add a filter which allows to add some errors through a plugin to this function. Users would be informed, that there are some errors from the plugin. I think the redirect should be prevented when a plugin delivers some errors through this hook.
- existing hook "login_errors": It would be better when hook login_errors performs similar to hook registration_errors. The difference is, that login_errors allows to add a string to the error message, only. If there is no error message from wordpress, this function does have no effect.
In hook registration_errors, you are able to queue errors through $errors-object. This make it possible to prevent registering when some errors are delivered from a plugin. Could you implement a similar way of error-handling like this to hook login_errors?
Big thx for your support :)