Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#34805 new defect (bug)

registration_errors filter not called when adding users in admin section

Reported by: mikelopez's profile mikelopez Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Users Keywords:
Focuses: Cc:

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

Change History (2)

#1 @mikelopez
8 years ago

  • Component changed from General to Users

#2 @swissspidy
8 years ago

  • Version trunk deleted

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 (a WP_Error object) if that is needed.

Note: See TracTickets for help on using tickets.