WebP support seems to be in the cards for WordPress. Jonny Harris shared this Trac ticket on Twitter and added the following comment:
“Worked really hard on this one and I am proud of it. Massive props to @roundearth for landing this. Here's to making the web’s images much smaller!”
Jonny's Trac ticket adds “support for uploading, editing and saving WebP images when supported by the server.” It adds
image/webp to supported mime types.
With this change, WordPress will correctly identify WebP images even when PHP does not support them. WordPress will also resize uploaded WebP files and use them for front-end markup. 🙌