WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 5 weeks ago

#48009 new enhancement

Expand upon the Media item data in Export Requests

Reported by: garrett-eclipse Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.6
Component: Privacy Keywords: has-patch
Focuses: Cc:
PR Number:

Description

Hello,

While reviewing an export containing Comment items and Media items it came to my attention the lack of information provided for media items. Currently, it's just the Media URL.

It would be nice to use some of the attachment meta and possibly EXIF data if present to supplement that information. As EXIF data can possess PII (Personally Identifiable Information) such as location it would be good to disclose to the user what information is known if available.

Thank you

Attachments (4)

Screen Shot 2019-09-09 at 11.21.53 PM.png (67.8 KB) - added by garrett-eclipse 6 weeks ago.
Example of the Media items showing just their URL
Screen Shot 2019-09-09 at 11.21.14 PM.png (123.9 KB) - added by garrett-eclipse 6 weeks ago.
Example of a Comment item with more information
Screen Shot 2019-09-09 at 11.22.50 PM.png (39.2 KB) - added by garrett-eclipse 6 weeks ago.
Some potential media information from the Media item details in the Media Library. Other fields that could be useful along with EXIF data would be the Alt Text, Title, Caption, Description and Uploaded By user.
48009.diff (1.6 KB) - added by donmhico 5 weeks ago.

Download all attachments as: .zip

Change History (5)

@garrett-eclipse
6 weeks ago

Example of the Media items showing just their URL

@garrett-eclipse
6 weeks ago

Example of a Comment item with more information

@garrett-eclipse
6 weeks ago

Some potential media information from the Media item details in the Media Library. Other fields that could be useful along with EXIF data would be the Alt Text, Title, Caption, Description and Uploaded By user.

@donmhico
5 weeks ago

#1 @donmhico
5 weeks ago

  • Keywords has-patch added

48009.diff reuses wp_prepare_attachment_for_js() to get the additional info of the media.

@garrett-eclipse - Give it a test when you have the time :)

Note: See TracTickets for help on using tickets.