Changeset 24918 for branches/3.6/wp-admin/includes/file.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/file.php
r24480 r24918 498 498 return new WP_Error('http_no_file', __('Could not create Temporary file.')); 499 499 500 $response = wp_ remote_get( $url, array( 'timeout' => $timeout, 'stream' => true, 'filename' => $tmpfname, 'reject_unsafe_urls' => true ) );500 $response = wp_safe_remote_get( $url, array( 'timeout' => $timeout, 'stream' => true, 'filename' => $tmpfname ) ); 501 501 502 502 if ( is_wp_error( $response ) ) {
Note: See TracChangeset
for help on using the changeset viewer.