Make WordPress Core

Opened 7 years ago

Last modified 4 years ago

#43080 new enhancement

Allow access to triggered WP_Error when using login_errors and login_messages filters

Reported by: anonymized_10765487's profile anonymized_10765487 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.1
Component: Login and Registration Keywords:
Focuses: Cc:

Description

Hi,

There are currently 2 filters login_errors et login_messages but everything is string. As a consequence this is translated. I would be nice to add $wp_error (WP_Error) in these filters to make it even more customizable.

Attachments (1)

43080.patch (940 bytes) - added by anonymized_10765487 7 years ago.
patch

Download all attachments as: .zip

Change History (2)

@anonymized_10765487
7 years ago

patch

#1 @sabernhardt
4 years ago

  • Component changed from General to Login and Registration
Note: See TracTickets for help on using tickets.