[wp-trac] [WordPress Trac] #5482: wp_handle_upload adds extra file
extension
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 18 02:04:50 GMT 2007
#5482: wp_handle_upload adds extra file extension
------------------------+---------------------------------------------------
Reporter: tellyworth | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
Introduced in #6390: wp_handle_upload() doesn't properly split the base
filename and extension when calling wp_unique_filename().
The enclosed patch moves the file/ext split code to wp_unique_filename()
rather than require an extra parameter.
--
Ticket URL: <http://trac.wordpress.org/ticket/5482>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list