Opened 10 years ago
Closed 10 years ago
#38938 closed enhancement (duplicate)
WP API does not expose the ID of sideloaded media.
| Reported by: | dotancohen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Retrieving the ID of sideloaded media requires horrible workarounds:
I will attach a patch to this issue which makes life easier for WP Theme and Plugin developers who need this feature.
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch to optionally return the ID of a sideloaded media file.