Make WordPress Core

Changeset 23411


Ignore:
Timestamp:
02/14/2013 05:12:23 AM (12 years ago)
Author:
SergeyBiryukov
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r23267 r23411  
    11751175function wp_nonce_url( $actionurl, $action = -1 ) {
    11761176    $actionurl = str_replace( '&', '&', $actionurl );
    1177     return esc_html( add_query_arg( '_wpnonce', wp_create_nonce( $action ), $actionurl ) );
     1177    return esc_url( add_query_arg( '_wpnonce', wp_create_nonce( $action ), $actionurl ) );
    11781178}
    11791179
Note: See TracChangeset for help on using the changeset viewer.