[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
Thu Jun 24 01:59:10 UTC 2021


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

 * keywords:  has-patch commit => has-patch needs-testing


Comment:

 In 53475.3.diff: Fix this similarly to how `.heic` images are handled, see
 [48288]. Prevents uploading of WebP images when the server cannot edit
 them by passing a setting to Plupload, then triggering an error.

 That also allows to show a better error message (suggestions for improving
 the text are welcome):

  This image cannot be post-processed by the web server. Convert it to JPEG
 or PNG before uploading.

 Please test asap to be able to add in beta-4.

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


More information about the wp-trac mailing list