WordPress.org

Make WordPress Core

Changeset 3973


Ignore:
Timestamp:
07/05/2006 09:52:18 AM (15 years ago)
Author:
ryan
Message:

wp_specialchars() within wp_nonce_url(). Props Nazgul. fixes #2857

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/functions.php

    r3936 r3973  
    23172317
    23182318function wp_nonce_url($actionurl, $action = -1) {
    2319     return add_query_arg('_wpnonce', wp_create_nonce($action), $actionurl);
     2319    return wp_specialchars(add_query_arg('_wpnonce', wp_create_nonce($action), $actionurl));
    23202320}
    23212321
Note: See TracChangeset for help on using the changeset viewer.