[wp-trac] [WordPress Trac] #43080: Allow access to triggered WP_Error when using login_errors and login_messages filters
WordPress Trac
noreply at wordpress.org
Fri Jan 12 21:40:00 UTC 2018
#43080: Allow access to triggered WP_Error when using login_errors and
login_messages filters
-------------------------+-----------------------------
Reporter: jmlapam | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.9.1
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43080>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list