Changeset 25323 for branches/3.6/wp-includes/functions.php
- Timestamp:
- 09/10/2013 06:42:32 PM (11 years ago)
- Location:
- branches/3.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.6
- Property svn:mergeinfo changed
/trunk/src merged: 25318
- Property svn:mergeinfo changed
-
branches/3.6/wp-includes/functions.php
r25322 r25323 1284 1284 1285 1285 if ( $ref && $ref !== wp_unslash( $_SERVER['REQUEST_URI'] ) ) 1286 return wp_ unslash( $ref);1286 return wp_validate_redirect( $ref, false ); 1287 1287 return false; 1288 1288 } … … 1299 1299 function wp_get_original_referer() { 1300 1300 if ( !empty( $_REQUEST['_wp_original_http_referer'] ) ) 1301 return wp_ unslash( $_REQUEST['_wp_original_http_referer']);1301 return wp_validate_redirect( wp_unslash( $_REQUEST['_wp_original_http_referer'] ), false ); 1302 1302 return false; 1303 1303 }
Note: See TracChangeset
for help on using the changeset viewer.