Make WordPress Core

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

Change History (2)

#1 @mikelopez
11 years ago

  • Component GeneralUsers

#2 @swissspidy
11 years ago

  • Version trunk

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.