From 50997f28b132df313be36647153f35daa28dea29 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 20 Oct 2011 23:41:07 +0000 Subject: [PATCH] Use esc_url() rather than esc_attr() on a redirect-to URL. fixes #17243. git-svn-id: http://svn.automattic.com/wordpress/trunk@19033 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index ec9bf2cf5..b09d2fe8e 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -252,7 +252,7 @@ function wp_login_form( $args = array() ) { $args = wp_parse_args( $args, apply_filters( 'login_form_defaults', $defaults ) ); $form = ' -
+ ' . apply_filters( 'login_form_top', '', $args ) . ' ' : '' ) . ' ' . apply_filters( 'login_form_bottom', '', $args ) . '
';