[wp-trac] [WordPress Trac] #59308: Attachment custom fields not rendered in some cases

WordPress Trac noreply at wordpress.org
Thu Sep 7 09:50:21 UTC 2023


#59308: Attachment custom fields not rendered in some cases
--------------------------+-----------------------------
 Reporter:  SeBsZ         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  6.3.1
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 This is a follow-up to #58051.

 I've noticed that in some cases custom fields added via
 `attachment_fields_to_edit` do not show up when the "Featured Image" modal
 is opened after clicking a "featured image". I then need to first click on
 another attachment and then back to have the custom fields show up.

 It seems that this bug only happens when you have a lot of images (more
 than 1 page) and the featured image you're looking at is not on the first
 page. It's easy to reproduce.

 If absolutely necessary I can set up a clean WordPress and make a screen
 recording of this bug, as I rather not share the images and data in our
 WordPress installation.

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


More information about the wp-trac mailing list