Changeset 31681 for trunk/src/wp-includes/class-http.php
- Timestamp:
- 03/09/2015 02:10:36 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-http.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r31290 r31681 183 183 if ( $r['reject_unsafe_urls'] ) 184 184 $url = wp_http_validate_url( $url ); 185 $url = wp_kses_bad_protocol( $url, array( 'http', 'https', 'ssl' ) ); 185 if ( $url ) { 186 $url = wp_kses_bad_protocol( $url, array( 'http', 'https', 'ssl' ) ); 187 } 186 188 } 187 189
Note: See TracChangeset
for help on using the changeset viewer.