Changeset 47978 for branches/4.7/src/wp-includes/pluggable.php
- Timestamp:
- 06/10/2020 06:46:19 PM (6 years ago)
- File:
-
- 1 edited
-
branches/4.7/src/wp-includes/pluggable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7/src/wp-includes/pluggable.php
r46495 r47978 1300 1300 **/ 1301 1301 function wp_validate_redirect($location, $default = '') { 1302 $location = trim( $location, " \t\n\r\0\x08\x0B");1302 $location = wp_sanitize_redirect( trim( $location, " \t\n\r\0\x08\x0B" ) ); 1303 1303 // browsers will assume 'http' is your protocol, and will obey a redirect to a URL starting with '//' 1304 1304 if ( substr($location, 0, 2) == '//' )
Note: See TracChangeset
for help on using the changeset viewer.