Make WordPress Core

Ticket #41413: 41413.patch

File 41413.patch, 545 bytes (added by pbearne, 7 years ago)
  • src/wp-includes/functions.php

     
    14331433 */
    14341434function wp_nonce_url( $actionurl, $action = -1, $name = '_wpnonce' ) {
    14351435        $actionurl = str_replace( '&', '&', $actionurl );
    1436         return esc_html( add_query_arg( $name, wp_create_nonce( $action ), $actionurl ) );
     1436        return esc_url( add_query_arg( $name, wp_create_nonce( $action ), $actionurl ) );
    14371437}
    14381438
    14391439/**