[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
Tue Mar 4 19:16:50 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: task (blessed) | Status: closed
Priority: normal | Milestone: 6.8
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: rest-api
---------------------------------------------+------------------------
Changes (by joedolson):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"59934" 59934]:
{{{
#!CommitTicketReference repository="" revision="59934"
Media: Tests: Remove extraneous @test annotation.
The data provider for tests added in [59902] had an @test annotation,
causing it to be run as if it were a test, throwing a risky test warning.
Remove the @test annotation to prevent this undesired warning.
Props johnbillion, joedolson.
Fixes #54738.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54738#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list