Opened 11 years ago
Last modified 7 years ago
#34805 new defect (bug)
registration_errors filter not called when adding users in admin section
| Reported by: | mikelopez | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Users | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Hi,
I believe that the registration_errors filter should also be called when adding a user from within the admin area.
As it stands now, it's only called when adding a user via wp-login.php
Cheers!
Mike
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Adding a user through the admin isn't really a registration, isn't it?
I'd rather add a new filter for
$add_user_errors(aWP_Errorobject) if that is needed.