From a4e5457ee1d766441950a6c34cf7879249e2569e Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sun, 2 Feb 2014 10:53:11 +0000 Subject: [PATCH] Update @return statement of wp_nonce_url(): The URL is escaped. props c3mdigital. see #4221. Built from https://develop.svn.wordpress.org/trunk@27070 git-svn-id: http://core.svn.wordpress.org/trunk@26943 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 2d06fc32bb..ae0ec09d17 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1194,7 +1194,7 @@ function is_blog_installed() { * @param string $actionurl URL to add nonce action. * @param string $action Optional. Nonce action name. * @param string $name Optional. Nonce name. - * @return string URL with nonce action added. + * @return string Escaped URL with nonce action added. */ function wp_nonce_url( $actionurl, $action = -1, $name = '_wpnonce' ) { $actionurl = str_replace( '&', '&', $actionurl );