Menu

WordPress 7.2 on 4wp.dev: What's New and Actually Useful for WordPress Developers
📰

WordPress 7.2 on 4wp.dev: What's New and Actually Useful for WordPress Developers

DEV Community: php·Anatoliy Dovgun·3 days ago
#AlwzHgxf
#devto#dev#adminmenu#array#enter
Long article (1446 words) — no AI summary yet.
Reading 0:00
15s threshold

Are your plugins ready for the new release? Before you bump Tested up to , let's check :)

More than 440 tickets. They promise nothing will break, but time will tell. So we look at what matters: what's new for developers, and where to check your own code.

What can we do?

Finally use SVG icons instead of Dashicons: your own admin bar and menu icons with a registered icon name.

Add a field to the editor sidebar with one API: the Entity Fields API. Register it once, and it shows up in the Inspector, Quick Edit and the Site Editor.

Add an action in the same places: the Entity Actions API.

Give a block a text shadow without CSS: textShadow in block.json and theme.json .

Style block states (hover, focus) from code: getStyleForState() / setStyleForState() .

Render HTML reactively in the Interactivity API: data-wp-html .

What to check before December 8:

Dashicons → SVG: your CSS for menu and admin bar icons may stop working.

The editor sidebar now runs on DataForm: if your plugin edits its DOM directly, it…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.