AdvancedCustomFields / AdvancedCustomFields/acf

Wordpress: Edit page - Change or select category bug the ACF fields.

Open
#507 3 comments 2 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

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

Screenshot

Ajax running Twice:

ajaxa-1

ajax-2

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.