alleyinteractive / alleyinteractive/wordpress-fieldmanager
Custom attachment meta fields not displaying when new image is uploaded
- Vorherrschende Sprache
- PHP
- Sterne
- 563
- Forks
- 99
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Description of the bug
WordPress version 6.2.2
Fieldmanager version 1.5.0
After uploading an image using a Fieldmanager media field, custom attachment meta fields do not initially display.
### Steps To Reproduce
1. Register custom attachment meta field(s) using `apply_filters( 'attachment_fields_to_edit', array $form_fields, WP_Post $post )`
2. Register a new Fieldmanager media field using `Fieldmanager_Media()` on posts
3. Upload new image to a post using this Fieldmanager media field
4. Note the missing meta field(s) in step 1 after upload
5. Click on a different media item in the Media Library, then click back on the newly uploaded image. The meta fields should now appear, but did not appear on the initial upload.
### Additional Information
_No response_
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.