[wp-trac] [WordPress Trac] #48451: Regression: wp_update_attachment_metadata filter now fires very often and without complete metadata

WordPress Trac noreply at wordpress.org
Wed Nov 6 04:43:52 UTC 2019


#48451: Regression: wp_update_attachment_metadata filter now fires very often and
without complete metadata
-------------------------------------------+---------------------
 Reporter:  ianmjones                      |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  5.3
Component:  Media                          |     Version:  trunk
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch needs-testing close  |     Focuses:
-------------------------------------------+---------------------

Comment (by vanyukov):

 So at the end, which is the recommended way to track images uploads? Use
 {{{wp_update_attachment_metadata}}} and track what sizes have been
 processed or hook into {{{wp_generate_attachment_metadata}}} and process
 all the image sizes after the upload finishes?

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


More information about the wp-trac mailing list