Media meeting recap – January 4, 2018

Happy new year!


This post is a summary of the latest weekly Media component meeting, which took place in the #core-media Slack channel, on Thursday, January 4, 2018 at 1900 UTC. The purpose of these meetings are to move priority tasks forward, provide feedback on issues of interest, and review media focused tickets on Trac.

@blobfolio, @clorith, @desrosj, @joemcgill, @karmatosed, @mikeschroder

Transcript: Read on Slack

4.9.2 Review

The following tickets assigned to the upcoming 4.9.2 milestone were reviewed:

  • jumps when you open it
  • #42225 – Whitelist Flac Files
  • #42447 – Mark test_remove_orientation_data_on_rotate as skipped when exif_read_data isn't available
  • #42480 – Consistent suppression of getimagesize() errors
  • #42643 – FLV video format not playing

#39859 and #42447 appear to be on track for commit.

If the small enhancement #42225 is allowed to land at the dot-dot, @desrosj and @blobfolio think #42919 should be retargeted for inclusion as well. The latter could also be argued to be a bug fix rather than just an enhancement as full aac support is already present in the Core; it is only files literally named *.aac (versus using the AAC codec inside some other container) which cannot be uploaded.

#42480 has a patch that addresses the stated issue. @blobfolio suggested that a better long-term approach might be to remap getimagesize() calls to a wrapper function, which would allow WP to deliver more robust responses (the native PHP function is inconsistent across versions). Such a wrapper was introduced to the patch under #35725, but further discussion is needed.

#42643 might be limited by upstream support, however @adamsilverstein and @clorith are working on it.


@karmatosed led a discussion of outstanding Gutenberg tickets. It was decided that the next weekly meeting should designate 15-30 minutes to discussing high-priority items to help get the media team connected with Gutenberg development.

Other Tickets

The current patch for #35725 (Add mime-type for Webp) tackles both the file type whitelisting — allowing .webp files to be uploaded — and full image integration for e.g. thumbnails, media insertion into posts, theme screenshots, etc. @mikeschroder suggested separating out the more in-depth handling functionality, while @blobfolio felt it important the two halves merge together since the Core does not provide a native way to retroactively generate thumbnails.

As there is a growing number of new and exciting image formats, many of which might be better left to plugins and themes, @blobfolio started a new enhancement ticket #43023 outlining the Core areas that would need to be rewritten to allow for such extensibility.

Next Meeting

The next #core-media Slack channel meeting will be held Thursday, January 11, 2018 at 1900 UTC. See you there!