[wp-trac] [WordPress Trac] #53475: No error shown on uploading a WebP image when the server doesn't support editing it

WordPress Trac noreply at wordpress.org
Tue Jun 22 16:21:37 UTC 2021


#53475: No error shown on uploading a WebP image when the server doesn't support
editing it
--------------------------+---------------------
 Reporter:  azaozz        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.8
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------

Comment (by adamsilverstein):

 Since we don't have access to the file in get_allowed_mime_types, we still
 need the conditional based on the active image editor, making a
 generalized helper call harder. I cleaned the logic up a bit in
 [attachment:"53475.2.diff"]

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


More information about the wp-trac mailing list