[wp-trac] [WordPress Trac] #58051: Attachment custom fields not rendered after upload

WordPress Trac noreply at wordpress.org
Wed Apr 12 23:42:34 UTC 2023


#58051: Attachment custom fields not rendered after upload
------------------------------+----------------------------------------
 Reporter:  trepmal           |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.2.1
Component:  Media             |     Version:  6.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  accessibility, javascript
------------------------------+----------------------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55649" 55649]:
 {{{
 #!CommitTicketReference repository="" revision="55649"
 Media: Render attachment custom fields for new uploads.

 Initialize attachment custom fields during the `add` callback, so that
 fields are present as soon as an attachment is uploaded but do not refresh
 when field values are changed. Follow up to #40909.

 Props trepmal, adamsilverstein, joedolson.
 Fixes #58051.
 }}}

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


More information about the wp-trac mailing list