Ticket #20771: 20771-1.diff
File 20771-1.diff, 518 bytes (added by , 13 years ago) |
---|
-
wp-includes/functions.php
1153 1153 */ 1154 1154 function wp_nonce_url( $actionurl, $action = -1 ) { 1155 1155 $actionurl = str_replace( '&', '&', $actionurl ); 1156 return esc_ html( add_query_arg( '_wpnonce', wp_create_nonce( $action ), $actionurl ) );1156 return esc_url( add_query_arg( '_wpnonce', wp_create_nonce( $action ), $actionurl ) ); 1157 1157 } 1158 1158 1159 1159 /**