[wp-trac] [WordPress Trac] #42829: Debugging image uploads with wp_generate_attachment_metadata

WordPress Trac noreply at wordpress.org
Thu Dec 7 14:24:23 UTC 2017


#42829: Debugging image uploads with wp_generate_attachment_metadata
----------------------------+-----------------------------
 Reporter:  Fleuv           |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Media           |    Version:  4.9.1
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Because of the if statement declared in image.php on line 181
 ([https://core.trac.wordpress.org/browser/tags/4.9/src/wp-
 admin/includes/image.php#L181]) it seems impossible to retrieve the error
 message, what is supplied by the wp_upload_bits() function.

 Please return this message or implement a new function what verifies what
 the error messages are trying to inform the user about.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42829>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list