WordPress.org

Make WordPress Core

Ticket #20771: 20771-1.diff

File 20771-1.diff, 518 bytes (added by jkudish, 3 years ago)
  • wp-includes/functions.php

     
    11531153 */ 
    11541154function wp_nonce_url( $actionurl, $action = -1 ) { 
    11551155        $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 ) ); 
    11571157} 
    11581158 
    11591159/**