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

WordPress Trac noreply at wordpress.org
Fri Apr 9 20:26:21 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):

 [attachment:"35725.21.diff"] incorporates additional feedback from
 @spacedmonkey on the GitHub PR (thanks!) and adds a test for
 `wp_get_webp_info` explicitly, as well as an additional mime type check in
 that function so it only operates on WebP images.

 I'm going to give this some final testing and get it committed! I'd like
 to get this in so it can get wider testing (and continue working on using
 WebP as the default format), we can fine tune things like the compression
 quality default before launch.

 Note: WebP is spelled with a capital P which I kind of like :)

 Hey @SergeyBiryukov if you have a chance I would appreciate a code review
 before I commit this!

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


More information about the wp-trac mailing list