From f4c63d53aac724305de6800d4543b6fe4fa1a522 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: http://svn.automattic.com/wordpress/trunk@16749 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 696d4f789..876124e7f 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'] )