[wp-trac] [WordPress Trac] #48472: The "wp_generate_attachment_metadata" filter is not fired when the initial upload request fails but the upload was completed successfully by retrying to create image sub-sizes

WordPress Trac noreply at wordpress.org
Mon Nov 4 17:06:06 UTC 2019


#48472: The "wp_generate_attachment_metadata" filter is not fired when the initial
upload request fails but the upload was completed successfully by retrying
to create image sub-sizes
-------------------------------------------------+-------------------------
 Reporter:  azaozz                               |       Owner:  azaozz
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.3
Component:  Upload                               |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:
  fixed-major                                    |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 In [changeset:"46651" 46651]:
 {{{
 #!CommitTicketReference repository="" revision="46651"
 Upload: Ensure the new image meta is always saved before starting post-
 processing of an uploaded image, even if there was an error while scaling
 or rotating it.

 See #48472.
 }}}

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


More information about the wp-trac mailing list