[wp-trac] [WordPress Trac] #61975: Compatibility Issue with Gutenberg Editor in WordPress 6.x with Custom Meta Boxes

WordPress Trac noreply at wordpress.org
Tue Sep 3 11:26:39 UTC 2024


#61975: Compatibility Issue with Gutenberg Editor in WordPress 6.x with Custom Meta
Boxes
--------------------------+---------------------------------------
 Reporter:  reportorbit   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  6.0
 Severity:  normal        |   Keywords:  needs-patch needs-testing
  Focuses:                |
--------------------------+---------------------------------------
 Since updating to WordPress 6.x, there appears to be a compatibility issue
 with the Gutenberg editor when using custom meta boxes. Specifically, meta
 boxes do not save data correctly when edited, and there are unexpected
 JavaScript errors in the console. This issue is affecting custom post
 types and third-party plugins relying on meta boxes.

 Steps to Reproduce:

 Update to WordPress 6.x (latest version).
 Install and activate a plugin that adds custom meta boxes to the Gutenberg
 editor (e.g., Advanced Custom Fields or a custom-built plugin).
 Create a new post or edit an existing post with the custom post type that
 uses these meta boxes.
 Make changes to the content within the meta boxes.
 Save or update the post.
 Expected Result:

 Meta box data should save correctly without errors, and the editor should
 function smoothly.

 Environment:

 WordPress Version: 6.x
 PHP Version: 7.4 / 8.x (tested on both)
 Active Theme: Twenty Twenty-One (or any standard theme)
 Active Plugins: [List any plugins, including the one causing the issue]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61975>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list