Changeset 24481 for branches/3.5/wp-admin/includes/file.php
- Timestamp:
- 06/21/2013 06:12:17 AM (12 years ago)
- Location:
- branches/3.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
wp-admin/includes/file.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.5
-
branches/3.5/wp-admin/includes/file.php
r24464 r24481 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 ) );500 $response = wp_remote_get( $url, array( 'timeout' => $timeout, 'stream' => true, 'filename' => $tmpfname, 'reject_unsafe_urls' => true ) ); 501 501 502 502 if ( is_wp_error( $response ) ) {
Note: See TracChangeset
for help on using the changeset viewer.