[wp-trac] [WordPress Trac] #48522: Attachment size not generated when large images uploaded

WordPress Trac noreply at wordpress.org
Wed Nov 27 00:17:26 UTC 2019


#48522: Attachment size not generated when large images uploaded
-------------------------------------------------+-------------------------
 Reporter:  vanyukov                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.3.1
Component:  Media                                |     Version:  5.3
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch needs-testing  |     Focuses:
  needs-unit-tests                               |
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * keywords:  needs-patch 2nd-opinion => 2nd-opinion has-patch needs-testing
     needs-unit-tests


Comment:

 In 48522.diff: Do not (silently) ignore errors while resizing or saving
 resized images. Instead call `trigger_error( $error_code, E_USER_ERROR );`
 when GD or ImageMagick return an error. This will allow the client to do
 another post-processing request.

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


More information about the wp-trac mailing list