[wp-trac] [WordPress Trac] #9106: Suggestions for error-filter-hooks

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 12 04:33:21 GMT 2009


#9106: Suggestions for error-filter-hooks
-----------------------------+----------------------------------------------
 Reporter:  Matthias Reuter  |       Owner:     
     Type:  feature request  |      Status:  new
 Priority:  high             |   Milestone:     
Component:  Plugins          |     Version:  2.7
 Severity:  normal           |    Keywords:     
-----------------------------+----------------------------------------------
 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.

 2. 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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9106>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list