Custom ACF Meta Box on post type blocks loading of WP 7.0 visual revisions editor
まだ誰も着手していません。
評価
調査の方向性
まず、WordPress 7.0、ACF Pro 6.8.2、およびフィールドグループが割り当てられたカスタム投稿タイプで問題を再現します。ACFフィールドグループが存在する場合と削除された場合でリビジョンエディターを比較します。カスタムメタボックスが存在する場合でも、ビジュアルリビジョンエディターが読み込まれ、機能し続ければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When a custom meta box, implemented using Advanced Custom Fields (ACF), is added to a specific post type, the system fails to load the modern, visual revisions editor introduced or improved in WordPress 7.0. Instead, the editor falls back to the older, non-visual revision interface. This behavior prevents users from utilizing the new revision features and workflow intended in WP 7.0.
To Reproduce
- Ensure a custom post type is set up and a field group (ACF) is assigned to it.
- Create or edit a post under this custom post type.
- Save or edit the post, ensuring the custom ACF meta box is visible in the editor/sidebar.
- Attempt to view or interact with the revisions panel/editor for that post.
- Result: The system loads the legacy (old) revision editor, failing to utilize the new visual revision mode.
- Verification: Remove the ACF field group entirely from this post type. Repeat Step 4. The new visual revision editor loads correctly.
Expected behavior
The new, visual revisions editor (designed for improved collaboration and history viewing in WordPress 7.0) should load successfully and be fully functional, even when a custom ACF meta box is present and properly configured on the post type.
Version Information:
- WordPress Version: 7.0
- PHP Version: 8.3.23
- ACF Version: ACF Pro 6.8.2
- Browser: Chrome on Mac OS
Additional context
This issue seems to be a direct conflict between the meta box structure and the modern, collaborative/visual editing environment that WordPress 7.0 is moving towards.
It is worth noting the official WordPress developer warning regarding this exact behavior:
"Classic meta boxes will disable collaboration mode". Source: Wordpress
(Source: WordPress 7.0 News and Updates)
- 主要言語
- PHP
- スター
- 948
- フォーク
- 198
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AdvancedCustomFields/acf のほかの issue
-
PHP 8.5: "Using null as an array offset" deprecation in ACF_Data::is() when rendering a block with empty data (local-meta.php is_request)対応中かも @faisalahammad が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AdvancedCustomFields/acf#1044 ·
-
is_preview was called incorrectly notice on every early get_field() since 6.8.10 (acf_revisions::acf_validate_post_id)対応中かも @faisalahammad が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AdvancedCustomFields/acf#1041 · コメント 1 件 ·
-
True / False ACF control bug on RTL layouts対応中かも @elicohenator が 29 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
AdvancedCustomFields/acf#1038 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AdvancedCustomFields/acf#1034 · コメント 3 件 ·
-
Bug: class-acf-field-icon_picker.php calls wp_get_attachment_image_url() with string Dashicon slug, causing fatal TypeError on PHP 8+対応中かも @antwonw が 40 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
AdvancedCustomFields/acf#1032 · コメント 1 件 ·
AdvancedCustomFields/acf の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
nextcloud/integration_openai#446 ·
-
bug customer-reported
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
MagnaCapax/PMSS#1101 ·
メンテナーはふだん 5 日以内に返信
-
InvoiceSettled is answered 200 when the invoice cannot be re-fetched, so BTCPay never redelivers itオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
btcpayserver/woocommerce-greenfield-plugin#93 ·
メンテナーはふだん 1 日以内に返信
-
kind/bug status/triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100