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

WordPress Trac noreply at wordpress.org
Thu May 6 15:03:46 UTC 2021


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

Comment (by SergeyBiryukov):

 In [changeset:"50821" 50821]:
 {{{
 #!CommitTicketReference repository="" revision="50821"
 Media: Remove an extra variable and a redundant check in
 `WP_Image_Editor_Imagick::set_quality()`.

 `wp_get_webp_info()` returns either a string or `false` for the `type`
 key, so we can just check for the string directly.

 Follow-up to [50810], [50814], [50815], [50818-50820].

 See #35725.
 }}}

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


More information about the wp-trac mailing list