Changeset 24503
- Timestamp:
- 06/23/2013 06:02:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-http.php
r24497 r24503 120 120 return $pre; 121 121 122 if ( $r['reject_unsafe_urls'] )123 $url = wp_http_validate_url( $url );124 if ( function_exists( 'wp_kses_bad_protocol' ) )122 if ( function_exists( 'wp_kses_bad_protocol' ) ) { 123 if ( $r['reject_unsafe_urls'] ) 124 $url = wp_http_validate_url( $url ); 125 125 $url = wp_kses_bad_protocol( $url, array( 'http', 'https', 'ssl' ) ); 126 } 126 127 127 128 $arrURL = @parse_url( $url );
Note: See TracChangeset
for help on using the changeset viewer.