Opened 17 years ago
Closed 17 years ago
#9106 closed feature request (duplicate)
Suggestions for error-filter-hooks
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.7 |
| Component: | Plugins | Keywords: | needs-patch |
| Focuses: | Cc: |
Description
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 :)
Matthias
Change History (2)
Note: See
TracTickets for help on using
tickets.
first item got fixed, second item is covered in a separate ticket where it is suggested to allow to override the login screen entirely.