[wp-trac] [WordPress Trac] #35725: Add WebP support.

WordPress Trac noreply at wordpress.org
Thu Mar 18 14:45:20 UTC 2021


#35725: Add WebP support.
-------------------------------------------------+-------------------------
 Reporter:  markoheijnen                         |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.8
Component:  Media                                |     Version:  3.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests needs-dev-note dev-feedback              |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 > I still think that numbers are not high enough to force it's use.
 https://www.caniuse.com/webp

 @spacedmonkey For unsupported browsers, one possibility is to use an async
 [https://github.com/Modernizr/Modernizr/blob/master/feature-
 detects/img/webp.js capabilities check] then lazy load a
 [https://github.com/chase-moskal/webp-hero shim] if required. We may want
 to consider the caniuse numbers with a little salt, they
 [https://twitter.com/_developit/status/1367158704219504641 may not be
 accurate].

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


More information about the wp-trac mailing list