Changeset 37598
- Timestamp:
- 05/31/2016 02:20:58 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r37537 r37598 494 494 return new WP_Error('http_no_url', __('Invalid URL Provided.')); 495 495 496 $tmpfname = wp_tempnam($url); 496 $url_filename = basename( parse_url( $url, PHP_URL_PATH ) ); 497 498 $tmpfname = wp_tempnam( $url_filename ); 497 499 if ( ! $tmpfname ) 498 500 return new WP_Error('http_no_file', __('Could not create Temporary file.'));
Note: See TracChangeset
for help on using the changeset viewer.