Unlock Hidden Gems: Insider Secrets in WordPress 6.8 for Developers
With the new version, theme developers can add starter content patterns for all post types: posts, pages, and any registered custom post types.
API updates
WordPress 6.8 introduces several API-level improvements aimed at making development more robust and extensible. These changes enhance how developers interact with data, insert blocks, and work with patterns.
Interactivity
The wp-each
directive has been improved to better handle data by first checking if a property is iterable instead of attempting to call its .map
method directly. This will avoid errors when non-iterable values are used.