[wp-trac] [WordPress Trac] #54738: Unable to upload images with URL over API when the image doesn’t have a filetype in the filename

WordPress Trac noreply at wordpress.org
Sun Mar 2 23:26:45 UTC 2025


#54738: Unable to upload images with URL over API when the image doesn’t have a
filetype in the filename
---------------------------------------------+------------------------
 Reporter:  masteradhoc                      |       Owner:  joedolson
     Type:  enhancement                      |      Status:  accepted
 Priority:  normal                           |   Milestone:  6.8
Component:  Media                            |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  rest-api
---------------------------------------------+------------------------
Changes (by joedolson):

 * keywords:  has-patch has-unit-tests needs-testing 2nd-opinion => has-
     patch has-unit-tests commit


Comment:

 Tested and fixed the unit test (which was using AVIF as a content type
 that should fail, but it doesn't fail since we added support in 6.5.).

 Marking for commit.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54738#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list