[wp-trac] [WordPress Trac] #35725: Add WebP support.
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Mar 30 09:58:25 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 spacedmonkey):
 Nit pic.
 This confuses me
 This line is followed by
 {{{#!php
 return imagewebp( $image, null, 90 );
 }}}
 {{{#!php
  return imagewebp( $image, null, apply_filters( 'webp_quality', 75 ) );
 }}}
 Why does one have quality of 90 and no filter and other 75 with a filter?
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:135>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list