ACF Pro: package's composer.json says name "wpengine/advanced-custom-fields", not "...-pro"
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
Research direction
Start by inspecting the composer.json included in the ACF Pro 6.8.1 build and compare its declared package name with the distributed Composer name. Verify that the Pro package declares wpengine/advanced-custom-fields-pro while retaining replacement compatibility for the free package, then confirm the resulting metadata supports the reported Composer workflow.
Written by the indexing model from the issue text.
Description
composer require wpengine/advanced-custom-fields-pro installs fine from connect.advancedcustomfields.com. But the package it pulls down declares this in its own composer.json:
{
"name": "wpengine/advanced-custom-fields",
"type": "wordpress-plugin"
}
So the name inside the package doesn't match the name you distribute it under.
It bites going the other way. I'm migrating sites to a Composer-managed setup, so I read each installed plugin's composer.json to work out what to require. For ACF Pro that gives me wpengine/advanced-custom-fields, which isn't installable, so I special-case it back to -pro.
Any chance the Pro build could declare wpengine/advanced-custom-fields-pro in composer.json? Keeping the replace on the free name would avoid breaking anything else.
(Seen on 6.8.1.)
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
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.
More from AdvancedCustomFields/acf
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
AdvancedCustomFields/acf#1038 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AdvancedCustomFields/acf#1034 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
AdvancedCustomFields/acf#1032 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AdvancedCustomFields/acf#1029 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AdvancedCustomFields/acf#1028 · 1 comment ·
All issues in AdvancedCustomFields/acf
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·