[wp-trac] [WordPress Trac] #64557: WP_Customize_Media_Control default webp

WordPress Trac noreply at wordpress.org
Mon Feb 2 06:13:43 UTC 2026


#64557: WP_Customize_Media_Control default webp
--------------------------------------+--------------------------
 Reporter:  buutqn                    |       Owner:  westonruter
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  7.0
Component:  Customize                 |     Version:  6.9
 Severity:  minor                     |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by westonruter):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61576" 61576]:
 {{{
 #!CommitTicketReference repository="" revision="61576"
 Customize: Use `wp_check_filetype()` instead of `substr()` to extract file
 extension.

 This fixes compatibility with image files that have 4-character
 extensions, such as `.webp` and `.avif`.

 Follow-up to [57524], [50810], [30309].

 Props buutqn, westonruter.
 See #51228, #35725, #21483.
 Fixes #64557.
 }}}

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


More information about the wp-trac mailing list