WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 22 months ago

#18087 new enhancement

Extend mw_newMediaObject to include EXIF data

Reported by: MYSTERYouse Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 3.2
Component: XML-RPC Keywords:
Focuses: Cc:

Description

Would it be possible to include the exif transfer when using mw_newMediaObject function via XMLRPC? Currently the image gets transfered into library but Title, Caption field remains blank.

I checked the uploaded file and it carries the exif, so it does not get striped in the process.

Change History (2)

comment:1 MYSTERYouse3 years ago

  • Cc djup@… added

comment:2 markoheijnen22 months ago

the XML-RPC does not use the function media_handle_upload() for inserting the file. The title you can submit to mw_newMediaObject but the caption is not yet used by the XML-RPC

Note: See TracTickets for help on using tickets.