Changeset 3973

Show
Ignore:
Timestamp:
07/05/06 09:52:18 (3 years ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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