[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 22:27:02 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:  assigned
 Priority:  normal                   |   Milestone:  5.8
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch => has-patch needs-testing
 * owner:  (none) => adamsilverstein
 * status:  new => assigned


Comment:

 > Uh, there's a better way to do this, can use wp_image_editor_supports().
 Will push an update to the PR.

 Aha, excellent! I completely missed that.

 PR looks good to me, I can give it another test to verify it correctly
 detects/applies webp server support in my local test environments.

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


More information about the wp-trac mailing list