From d95038025d800eca6947bc72bb9b9d554b80152d Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 5 Jul 2006 09:55:24 +0000 Subject: [PATCH] wp_specialchars() within wp_nonce_url(). Props Nazgul. fixes #2857 git-svn-id: http://svn.automattic.com/wordpress/trunk@3974 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index d96c5e754c..f1c3243727 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -806,7 +806,7 @@ function is_blog_installed() { } function wp_nonce_url($actionurl, $action = -1) { - return add_query_arg('_wpnonce', wp_create_nonce($action), $actionurl); + return wp_specialchars(add_query_arg('_wpnonce', wp_create_nonce($action), $actionurl)); } function wp_nonce_field($action = -1) {