Happy new year!
Overview
This post is a summary of the latest weekly Media component meeting, which took place in the #core-media Slack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. 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 An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress..
Attendees:
@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:
- #39859 –
wp.media.view.Modal
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 Enhancements are simple improvements to WordPress, such as the addition of a hook, a new feature, or an improvement to an existing feature. #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 A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. fix rather than just an enhancement as full aac
support is already present in the Core Core is the set of software required to run WordPress. The Core Development Team builds WordPress.; it is only files literally named *.aac
(versus using the AAC codec inside some other container) which cannot be uploaded.
#42480 has a patch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing. 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 The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher 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.
Gutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/
@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 Created for both bug reports and feature development on the bug tracker. #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!