Skip to main content
Back to Articles
WordPressMay 4, 20259 min read

WordPress 6.8 "Cecil": What's New & How It Makes Your Site Better

A deep dive into WordPress 6.8 Cecil, covering speculative prefetch, bcrypt password hashing, BLAKE2b token encryption, editor improvements, classic theme style variations, and new developer APIs.

Introduction

WordPress 6.8, codenamed "Cecil," was released on April 15, 2025, and brings a strong emphasis on performance, security, and developer experience. This release fine-tunes core features, introduces new APIs, and enhances the content editing workflow. Below we explore every major improvement in depth, with code examples and best-practice recommendations.

1. Speculative Prefetch: Blazing-Fast Page Transitions

Speculative Prefetch in WordPress 6.8 anticipates the page a visitor is most likely to navigate to next and starts loading its assets ahead of time. On pages with multiple internal links, this proactive approach can cut perceived load times by up to 50%.

1.1 Default Behavior

Out of the box, WordPress 6.8 enables speculative prefetch for internal links. The browser begins fetching resources as soon as certain heuristics indicate a likely navigation.

1.2 Customizing Prefetch Rules

We can tailor the prefetch behavior by adding a filter to the theme's functions.php:

add_filter('wp_speculation_rules_configuration', function($config) {
  // Trigger on hover
  $config['triggers'][] = 'hover';
  // Only prefetch same-domain links
  $config['predicates'] = [
    ['sameDomain', 'equal', true],
  ];
  return $config;
});

This filter tells WordPress to begin prefetching when a user hovers over a link and restricts preloads to internal navigation only.

2. Password & Token Security: Bcrypt & BLAKE2b

Security has been significantly strengthened in this release with two major authentication improvements.

2.1 Upgrading to Bcrypt

Bcrypt now replaces the legacy phpass library for hashing user passwords. Because Bcrypt uses an adaptive cost factor, we can increase computational difficulty over time, making brute-force attacks impractical even as hardware improves.

2.2 BLAKE2b Encryption for Tokens

All ephemeral tokens -- password reset links, nonces, and API keys -- now use Sodium's BLAKE2b hashing algorithm. BLAKE2b delivers a better balance between speed and security compared to SHA-256, providing stronger protection for short-lived credentials.

3. Design & Editor Improvements

The Site Editor receives substantial UI upgrades that streamline styling and block management workflows.

3.1 Unified Global Styles Panel

All style controls -- typography, spacing, colors, and backgrounds -- have been consolidated into a single "Global Styles" sidebar. This reduces the number of clicks needed and accelerates theme customization.

3.2 Real-Time Style Switching

A new "Style Switcher" icon in the editor toolbar allows us to preview predefined style kits (font families, color palettes) without refreshing the page.

3.3 Query Total Block

The Query Total block dynamically displays the number of posts matching the current query. We can use this block to build user-friendly archive pages with clear pagination context.

4. Classic Theme Style Variations

WordPress 6.8 enables traditional themes to register multiple style presets, bridging the gap between block themes and classic themes.

How to Add Styles

// In theme.json for classic themes
{
  "styles": [
    { "name": "default", "label": "Default" },
    { "name": "dark-mode", "label": "Dark Mode" }
  ]
}

Users can then switch between these presets under Appearance > Styles, instantly changing the site's visual appearance.

5. Enhanced Query Loop Options

The Query Loop block now includes more granular controls for filtering and ordering posts, giving us greater flexibility when building dynamic content layouts.

6. Page List Thumbnails

We can enable "Content Preview" in the Page List block to show a thumbnail or first-paragraph snippet, making large site navigation significantly more intuitive.

7. Developer-Focused APIs & Enhancements

Two major additions give developers more power to build dynamic and robust features.

7.1 Simplified Block Registration

Block JSON metadata can now be registered without editing PHP templates:

// In plugin or theme init
register_block_type(__DIR__ . '/build/dynamic-block');

7.2 Dynamic Data Binding

Block attributes can fetch external data at render time, enabling blocks that react to live API data:

register_block_type('myplugin/live-data', [
  'render_callback' => 'render_live_data',
  'attributes' => [ 'data' => ['type' => 'object'] ],
]);

function render_live_data($attrs) {
  $response = wp_remote_get('https://api.example.com/latest');
  $data = json_decode(wp_remote_retrieve_body($response), true);
  return '<pre>' . esc_html(print_r($data, true)) . '</pre>';
}

Pro Tip: We should always test these callbacks with caching in mind -- use transient caching or object caching to avoid performance bottlenecks when fetching remote data.

8. Backward Compatibility & Plugin Testing

Before upgrading, we recommend verifying that all plugins and themes are compatible with WordPress 6.8. Testing in a staging environment first helps catch any breaking changes before they affect the production site.

9. Performance Benchmarks

Internal testing shows measurable improvements across the board: faster page transitions thanks to speculative prefetch, reduced server load from optimized editor rendering, and stronger security without sacrificing speed.

Final Recommendations

WordPress 6.8 is a must-upgrade for any site owner focused on performance and security. We recommend enabling speculative prefetch, verifying Bcrypt migration for existing passwords, exploring the new style variations, and testing all plugins in a staging environment before going live.

Need help with this?

Our team handles this kind of work daily. Let us take care of your infrastructure.