Changeset 3920 for branches/2.0/wp-includes/functions.php
- Timestamp:
- 06/24/2006 06:22:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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() ) {
Note: See TracChangeset
for help on using the changeset viewer.