Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#9106 closed feature request (duplicate)

Suggestions for error-filter-hooks

Reported by: Matthias Reuter Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Plugins Keywords: needs-patch
Focuses: Cc:


Dear developer of wordpress,

I am currently developing a new plugin for wordpress and I have some suggestions for new filter-hooks in wordpress:

  1. 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.
  1. 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 :)


Change History (2)

#1 @Denis-de-Bernardy
9 years ago

  • Keywords needs-patch added
  • Milestone set to Future Release
  • Priority changed from high to normal

#2 @Denis-de-Bernardy
9 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

first item got fixed, second item is covered in a separate ticket where it is suggested to allow to override the login screen entirely.

Note: See TracTickets for help on using tickets.