Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Custom ACF Meta Box on post type blocks loading of WP 7.0 visual revisions editor

オープン
#1,015 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
web-dev

調査の方向性

まず、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
  1. Ensure a custom post type is set up and a field group (ACF) is assigned to it.
  2. Create or edit a post under this custom post type.
  3. Save or edit the post, ensuring the custom ACF meta box is visible in the editor/sidebar.
  4. Attempt to view or interact with the revisions panel/editor for that post.
  5. Result: The system loads the legacy (old) revision editor, failing to utilize the new visual revision mode.
  6. 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AdvancedCustomFields/acf のほかの issue

AdvancedCustomFields/acf の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。