[wp-trac] [WordPress Trac] #32116: Pass errors object to lostpassword_post hook
WordPress Trac
noreply at wordpress.org
Tue Jun 16 12:23:47 UTC 2015
#32116: Pass errors object to lostpassword_post hook
------------------------------------+------------------------------
Reporter: TheDeadMedic | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 2.1
Severity: normal | Resolution:
Keywords: needs-patch needs-docs | Focuses:
------------------------------------+------------------------------
Changes (by johnbillion):
* keywords: => needs-patch needs-docs
* version: trunk => 2.1
Comment:
Thanks for the patch, TheDeadMedic.
There's no longer any need to use `do_action_ref_array()` in order to pass
an object to an action. Adding `$errors` as the second parameter to
`do_action()` should be fine.
See #16661 for some discussion.
Also needs some filter documentation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32116#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list