Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,015 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
web-dev

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện vấn đề với WordPress 7.0, ACF Pro 6.8.2 và một post type tùy chỉnh có field group được gán. So sánh trình chỉnh sửa revisions khi ACF field group hiện diện và khi đã bị xóa; được xem là hoàn tất khi trình chỉnh sửa revisions trực quan tải được và vẫn hoạt động khi custom meta box hiện diện.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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)

Ngôn ngữ chính
PHP
Star
946
Fork
197
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AdvancedCustomFields/acf

Tất cả issue của AdvancedCustomFields/acf

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.