Changeset 24497
- Timestamp:
- 06/21/2013 07:05:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r24482 r24497 122 122 if ( $r['reject_unsafe_urls'] ) 123 123 $url = wp_http_validate_url( $url ); 124 $url = wp_kses_bad_protocol( $url, array( 'http', 'https', 'ssl' ) ); 124 if ( function_exists( 'wp_kses_bad_protocol' ) ) 125 $url = wp_kses_bad_protocol( $url, array( 'http', 'https', 'ssl' ) ); 125 126 126 127 $arrURL = @parse_url( $url );
Note: See TracChangeset
for help on using the changeset viewer.