Changeset 24481 for branches/3.5/wp-includes/rss.php
- Timestamp:
- 06/21/2013 06:12:17 AM (12 years ago)
- Location:
- branches/3.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.5
-
branches/3.5/wp-includes/rss.php
r19712 r24481 537 537 */ 538 538 function _fetch_remote_file($url, $headers = "" ) { 539 $resp = wp_remote_request($url, array('headers' => $headers, 'timeout' => MAGPIE_FETCH_TIME_OUT ));539 $resp = wp_remote_request($url, array('headers' => $headers, 'timeout' => MAGPIE_FETCH_TIME_OUT, 'reject_unsafe_urls' => true )); 540 540 if ( is_wp_error($resp) ) { 541 541 $error = array_shift($resp->errors);
Note: See TracChangeset
for help on using the changeset viewer.