WordPress.org

Make WordPress Core

Changeset 3974


Ignore:
Timestamp:
07/05/06 09:55:24 (8 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r3960 r3974  
    807807 
    808808function wp_nonce_url($actionurl, $action = -1) { 
    809     return add_query_arg('_wpnonce', wp_create_nonce($action), $actionurl); 
     809    return wp_specialchars(add_query_arg('_wpnonce', wp_create_nonce($action), $actionurl)); 
    810810} 
    811811 
Note: See TracChangeset for help on using the changeset viewer.