AdvancedCustomFields / AdvancedCustomFields/acf
Wordpress: Edit page - Change or select category bug the ACF fields.
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
Hello
On wordpress version 5.7+ with ACF PRO version 5.9.1+ when I'm editing the post page with gutenberg and select or change the post category, all the ACF metaboxes bugs and I can't hide or show them anymore.
I tested in a clean installation of Wordpress 5.7+ with only ACF PRO plugin installed and the bug still happening
I checked and after the admin-ajax "acf/ajax/check_screen" from selecting the category ends, the admin-ajax "closed-postboxes" started running twice. But it only happens with the Gutenberg editor, if I active the plugin "Classic editor" this bug stops.
My system:
PHP: 7.4.3
Nginx
Worpdress 5.7.2
ACF PRO 5.9.6

Ajax running Twice:


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 issue in WordPress 5.7+ with Gutenberg and ACF PRO, then inspect the admin-ajax acf/ajax/check_screen and closed-postboxes requests when changing a category. Compare the behavior with Classic Editor. Done means ACF metaboxes can still be shown or hidden after a category change and closed-postboxes is not triggered twice.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100