Use correct escaping function. props jkudish. fixes #20771.

git-svn-id: https://develop.svn.wordpress.org/trunk@23411 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-02-14 05:12:23 +00:00
parent 04778f60ac
commit 142c4ee92b
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );
}
/**