AdvancedCustomFields / AdvancedCustomFields/acf
acf/save_post field names losing capital letters
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Hey there,
I noticed that on the acf/save_post hook all keys in $_POST['acf'] will be lowercase even if field names have been defined otherwise. Is this intended?
Thanks in advance.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the acf/save_post hook behavior described for keys in $_POST['acf'], then trace where field names are processed during save_post. The issue does not name a file or test, so identify the relevant save path and establish whether preserving capitalization is expected before defining the completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100