[wp-trac] [WordPress Trac] #64836: Media: skip server image support check when not generating sub-sizes

WordPress Trac noreply at wordpress.org
Thu Mar 12 05:33:18 UTC 2026


#64836: Media: skip server image support check when not generating sub-sizes
---------------------------------------------+-----------------------------
 Reporter:  adamsilverstein                  |       Owner:
                                             |  adamsilverstein
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  7.0
Component:  Media                            |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by adamsilverstein):

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


Comment:

 In [changeset:"61980" 61980]:
 {{{
 #!CommitTicketReference repository="" revision="61980"
 Media: skip server image support check when using client-side media.

 When uploading images via the REST API with `generate_sub_sizes` set to
 `false`, skip server support checks since processing is handled on the
 client side. Fix an issue where uploads of formats like AVIF fail with
 `rest_upload_image_type_not_supported`, even though the client will
 handle all image processing and the server doesn't need to support the
 format.

 See also https://github.com/WordPress/gutenberg/issues/76369 and
 https://github.com/WordPress/gutenberg/pull/76371.

 Props adamsilverstein, westonruter, andrewserong, mukesh27.
 Fixes #64836. See #62717.
 }}}

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


More information about the wp-trac mailing list