From 6d54bcfe06347908669b3e2334a08f1eef2e3484 Mon Sep 17 00:00:00 2001 From: scribu Date: Mon, 6 Dec 2010 16:24:05 +0000 Subject: [PATCH] Pass $args to login_form_* filters. Props aaroncampbell. Fixes #15702 git-svn-id: https://develop.svn.wordpress.org/trunk@16749 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/general-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 696d4f789d..876124e7fc 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -271,7 +271,7 @@ function wp_login_form( $args = array() ) { $form = '
- ' . apply_filters( 'login_form_top', '' ) . ' + ' . apply_filters( 'login_form_top', '', $args ) . ' - ' . apply_filters( 'login_form_middle', '' ) . ' + ' . apply_filters( 'login_form_middle', '', $args ) . ' ' . ( $args['remember'] ? '' : '' ) . ' - ' . apply_filters( 'login_form_bottom', '' ) . ' + ' . apply_filters( 'login_form_bottom', '', $args ) . '
'; if ( $args['echo'] )