Make WordPress Core

Changeset 55735


Ignore:
Timestamp:
05/09/2023 12:05:07 PM (3 weeks ago)
Author:
audrasjb
Message:

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.
Merges [55649] to the 6.2 branch.
Fixes #58051.

Location:
branches/6.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.