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

WordPress Trac noreply at wordpress.org
Fri May 7 09:31:15 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:"50822" 50822]:
 {{{
 #!CommitTicketReference repository="" revision="50822"
 Media: Avoid an infinite loop between `wp_getimagesize()` and
 `wp_get_image_mime()`.

 As a result of the recent changes, both functions were calling each other
 if the `exif` PHP extension is not available.

 The issue is now resolved by calling the `getimagesize()` PHP function
 directly, instead of the `wp_getimagesize()` wrapper.

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

 See #35725.
 }}}

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


More information about the wp-trac mailing list