[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:30:49 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
---------------------------------------------+------------------------

Comment (by joedolson):

 @navi161 FYI, that wasn't a valid test that you performed. This is about
 sideloading images from a URL that doesn't use a file extension that
 indicates the file type, but you tested inserting an image that directly
 references the image from the 3rd party location; it's a different issue.
 The reproduction instructions are in
 [https://core.trac.wordpress.org/ticket/54738#comment:18 comment:18].

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


More information about the wp-trac mailing list