Samuel Arendt

WordPress 7.2 rebuilds the editor sidebar with DataForm and ignores old CSS

On November 24, the WordPress core team published the developer note that confirms the change: starting with WordPress 7.2, the editor's settings sidebar (the "inspector", which holds status, date, excerpt, featured image and so on) is built with DataForm, in both the post editor and the site editor. Each setting becomes a field, the same field Quick Edit uses in the list screen, and the server provides the list of fields for each post type. The official schedule puts RC4 on December 1 and the 7.2 release on December 8, 2026.

What stops working in 7.2

The note lists two breaking changes.

The wp.editPost.__experimentalPluginPostExcerpt slot, deprecated since WordPress 6.6, is no longer rendered. The post excerpt is now a form field, so the slot has nowhere to appear. The core team suggests moving that interface to a PluginDocumentSettingPanel or to a custom field.

CSS that targets the class names or markup of the old panels does not apply to the new inspector. That covers rules that hid an option, reordered parts of the panel or restyled a field for the client.

Some extension points keep working without changes: the PluginDocumentSettingPanel and PluginPostStatusInfo slots, removeEditorPanel and the panel toggles in Preferences. The featured image filters (editor.PostFeaturedImage, editor.PostFeaturedImage.imageSize and editor.MediaUpload) still apply in the post editor, but not in Quick Edit.

Who should check

The impact is concentrated on sites with a custom plugin or theme that changes the editor. This applies, for example, to adjustments that simplify the screen for whoever publishes, such as hiding fields the client should not change, rewriting the excerpt help text or placing an extra field next to the status. If that adjustment was made with CSS or with the excerpt slot, it stops having any effect after the update. The site stays up, but the editing screen shows again what had been hidden, and nobody gets an error message.

Third-party plugins that depend on those points also need a new release from their authors. Sites that use the default editor with no customization only need to review the new screen with the people who publish.

What to do before December 8

The safest path is to test the editor on a staging environment with RC3, which is already available, or with RC4 from December 1. Open a post of each custom post type and compare the sidebar with production.

In the code, search for __experimentalPluginPostExcerpt and for CSS selectors that point to the editor's document panel classes. For anything that has to be rebuilt, WordPress 7.2 ships the Entity Fields API: the plugin declares the field in PHP with wp_register_entity_fields() on the wp_entity_fields_api_init hook, and a JavaScript module defines how to read and write the value. A field registered this way shows up in the inspector, in Quick Edit and in the site editor screens at once. To hide a default field, the same API lets you remove or update fields, which replaces the CSS.

If automatic major updates are turned on, 7.2 can reach the sites on December 8 itself. In that case, either the fix is ready before then or major updates stay paused until testing is done. Who pays for this work on client sites is the same question that comes up with every version change, discussed in PHP 8.2 support ends December 31. Is the upgrade in your contract?.

What is still unclear

The note does not list the old CSS classes or map each old panel to its new field; it points to ticket #76076 for details. It also does not say whether plugins that manipulate the panel DOM with JavaScript, without slots, will still find the elements they look for. Until the release, the answer for each site comes from testing on the RC.

If your company is weighing something similar or needs support on this topic, reach me on LinkedIn or WhatsApp.

References

White building facade seen from below, with a grid of rectangular panels cut against a pale blue sky

Photo by william f. santos on Unsplash

#Operations, #Radar, #Software Quality