AdvancedCustomFields / AdvancedCustomFields/acf

File Export of JSON Fields -> File Name

Open
#342 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Hey Elliot,

this is a little modification request for the file export of the JSON fields.

Currently if we export a single file with only one field group, the generated file name is: acf-export-2020-07-29.json

But a better experience would be the group key as file name, like: group_5bf28a743f69c.json

Only if we export more than one field groups in one file, the file name should be like the first example.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the PHP code that generates export filenames for JSON field groups and trace how it distinguishes one group from multiple groups. Done means a single-group export uses that group's key as the filename, while an export containing multiple groups keeps the date-based filename; verify both cases with the relevant export checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.