Changeset 3920
- Timestamp:
- 06/24/06 18:22:57 (3 years ago)
- Files:
-
- branches/2.0/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/wp-includes/functions.php
r3909 r3920 2326 2326 2327 2327 function wp_referer_field() { 2328 $ref = ( false === wp_get_referer() ) ? $_SERVER['REQUEST_URI'] : wp_get_referer(); 2329 $ref = wp_specialchars(stripslashes($ref)); 2328 $ref = wp_specialchars($_SERVER['REQUEST_URI']); 2330 2329 echo '<input type="hidden" name="_wp_http_referer" value="'. $ref . '" />'; 2331 2330 if ( wp_get_original_referer() ) {
