From 142c4ee92bb1a68bd4329c9e611228ff7318f09c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 14 Feb 2013 05:12:23 +0000 Subject: [PATCH] Use correct escaping function. props jkudish. fixes #20771. git-svn-id: https://develop.svn.wordpress.org/trunk@23411 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 5e0841cf7e..0dfeb7e52f 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1174,7 +1174,7 @@ function is_blog_installed() { */ function wp_nonce_url( $actionurl, $action = -1 ) { $actionurl = str_replace( '&', '&', $actionurl ); - return esc_html( add_query_arg( '_wpnonce', wp_create_nonce( $action ), $actionurl ) ); + return esc_url( add_query_arg( '_wpnonce', wp_create_nonce( $action ), $actionurl ) ); } /**