[wp-trac] [WordPress Trac] #35725: Add mime-type for Webp

WordPress Trac noreply at wordpress.org
Mon Mar 2 11:02:03 UTC 2020


#35725: Add mime-type for Webp
-------------------------------------------------+-------------------------
 Reporter:  markoheijnen                         |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Media                                |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-testing  |     Focuses:
  has-unit-tests needs-refresh                   |
-------------------------------------------------+-------------------------

Comment (by pmsanz):

 Replying to [comment:17 desrosj]:
 > This ticket was discussed briefly in the weekly media office hours this
 morning.
 >
 > Because Safari [https://caniuse.com/#feat=webp still does not support]
 WebP, this seems like plugin territory until there is a way to specify
 multiple sources for an image in core.

 I'm sorry, but 13 browsers does support it, and only 4 does not (Apple is
 always late). Anyway, there is a solution for showing WebP in any browser
 with a piece of Js: https://webpjs.appspot.com/

 It would be interesting to offer a config option in WordPress to convert
 uploaded files to .jpg or .webp, so user can decide. In my case, media is
 80% of the site, so .webp would be great to trim disk storage.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list