Use correct escaping function. props jkudish. fixes #20771.
git-svn-id: http://core.svn.wordpress.org/trunk@23411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3d3a2a7692
commit
4e46d0045c
|
@ -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 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue