Unlock Hidden Gems: Insider Secrets in WordPress 6.8 for Developers

Unlock Hidden Gems: Insider Secrets in WordPress 6.8 for Developers

The 6.8 update touched many areas of the WordPress Core code, including everything from the block library to performance to patterns. Plus, there are plenty of other quality-of-life improvements in 6.8 for anyone building plugins and themes. 

Without further ado, let’s jump straight into them.

For detailed information on each development change, check out the official WordPress 6.8 Field Guide on the Make WordPress Core blog.

  1. More performant block type registration
  2. Style Book sections and more
  3. Block Library updates
    1. New block: Query Total
    2. Gallery lightbox
    3. Details block
    4. Nice-to-have feature additions
    5. Notable block CSS changes
  4. Design tools extended to more blocks
  5. Organizing patterns
    1. Add patterns to subfolders 
    2. Starter patterns category
  6. API updates
    1. Interactivity
    2. Block Hooks
  7. Security: switched to bcrypt for password hashing
  8. Performance improvements
    1. Speculative loading
    2. useSelect performance warning
    3. Filter hook for loading block assets on demand
  9. What will you build with WordPress 6.8?

More performant block type registration

WordPress 6.8 eliminates the need to manually register block types thanks to its new wp_register_block_types_from_metadata_collection() function. It is a wrapper for the blocks-manifest.php file and the wp_register_block_metadata_collection() function introduced in WordPress 6.7. 

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

You May Have Missed