Automattic / Automattic/custom-metadata
Multiple upload field bug (Wordpress 4.0)
- Dominant language
- PHP
- Stars
- 190
- Forks
- 46
- Avg merge
- 46m
- Merged PRs (30d)
- 15
Description
I'm trying to add multiple upload field to my custom post type. But when post is published/updated instead of one upload field I get two one of them contains atachment id an the other file path as a value.

Contributor guide
Research direction
Start by reproducing the multiple upload field behavior in a custom post type on WordPress 4.0, using the screenshot and issue description as the expected scenario. Trace the field's publish or update handling; done means the custom post type retains one upload field rather than creating separate attachment-ID and file-path values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, content
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100