[wp-trac] [WordPress Trac] #38938: WP API does not expose the ID of sideloaded media.
WordPress Trac
noreply at wordpress.org
Thu Nov 24 18:31:38 UTC 2016
#38938: WP API does not expose the ID of sideloaded media.
-------------------------+-----------------------------
Reporter: dotancohen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Retrieving the ID of sideloaded media requires horrible workarounds:
http://wordpress.stackexchange.com/questions/46363/get-image-id-after-
uploading-with-media-sideload-image
I will attach a patch to this issue which makes life easier for WP Theme
and Plugin developers who need this feature.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38938>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list