Changeset 24918 for branches/3.6/wp-admin/includes/class-wp-importer.php
- Timestamp:
- 07/31/2013 06:53:06 AM (11 years ago)
- Location:
- branches/3.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.6
-
branches/3.6/wp-admin/includes/class-wp-importer.php
r24480 r24918 184 184 $headers = array(); 185 185 $args = array(); 186 $args['reject_unsafe_urls'] = true;187 186 if ( true === $head ) 188 187 $args['method'] = 'HEAD'; … … 192 191 $args['headers'] = $headers; 193 192 194 return wp_ remote_request( $url, $args );193 return wp_safe_remote_request( $url, $args ); 195 194 } 196 195
Note: See TracChangeset
for help on using the changeset viewer.