Changeset 47980 for branches/4.8/src/wp-includes/pluggable.php
- Timestamp:
- 06/10/2020 06:50:15 PM (5 years ago)
- File:
-
- 1 edited
-
branches/4.8/src/wp-includes/pluggable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8/src/wp-includes/pluggable.php
r46494 r47980 1315 1315 **/ 1316 1316 function wp_validate_redirect($location, $default = '') { 1317 $location = trim( $location, " \t\n\r\0\x08\x0B");1317 $location = wp_sanitize_redirect( trim( $location, " \t\n\r\0\x08\x0B" ) ); 1318 1318 // browsers will assume 'http' is your protocol, and will obey a redirect to a URL starting with '//' 1319 1319 if ( substr($location, 0, 2) == '//' )
Note: See TracChangeset
for help on using the changeset viewer.