Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#15702 closed defect (bug) (fixed)

login_form_(top|middle|bottom) should get $args

Reported by: aaroncampbell's profile aaroncampbell Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0
Component: Template Keywords: has-patch
Focuses: Cc:


The login_form_* filters would be so much more useful if they got the $args array from wp_login_form(). For example, I'm wanting to add the ability to redirect the user on a failed login. I can hook into wp_login_failed but I'd like to be able to specify the failed location when I'm calling wp_login_form()

Attachments (1)

15702.001.diff (1.9 KB) - added by aaroncampbell 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @scribu
13 years ago

  • Milestone changed from Awaiting Review to 3.1

#2 @scribu
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16749]) Pass $args to login_form_* filters. Props aaroncampbell. Fixes #15702

Note: See TracTickets for help on using tickets.