The essential news about content management systems and mobile technology. Powered by Perfect Publisher and XT Search for Algolia.
The News Site publishes posts to the following channels: Facebook, Instagram, Twitter, Telegram, Web Push, Bluesky, and Blogger.
WordPress 6.8, codenamed “Cecil,” includes loads of goodies for developers to tinker with. As usual, I’m like an overwhelmed toddler in a toy shop, just trying to figure out which toy I want to take for a test spin first.
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.
New block: Query TotalGallery lightboxDetails blockNice-to-have feature additionsNotable block CSS changes Add patterns to subfolders Starter patterns category InteractivityBlock Hooks Speculative loadinguseSelect performance warningFilter hook for loading block assets on demandWordPress 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.
Because all of the block data is stored as PHP in
blocks-manifest.php
, you can register all of your
plugin’s block types without reading individual JSON files.
Overall, it’s just a more efficient way to register block types—and
yes, you can use it for registering single block types, too!
In WordPress 6.8, you can register all of your block types with this call:
wp_register_block_types_from_metadata_collection(
__DIR__ . '/build',
__DIR__ . '/build/blocks-manifest.php'
);
Read the developer note on the Make WordPress Core blog for more information or to find out how to use this in a backward-compatible way when supporting older versions of WordPress.
One of the biggest improvements in 6.8 is the interface update to the Style Book, which separates your style settings into sections. Shown in the screenshot above, you can see how selecting a typeset makes it easier to test and preview your site’s typography.
There are also a couple of other notable upgrades to the Style
Book. It now has its own route, which lets you link directly to it.
The new URL path is
/wp-admin/site-editor.php?p=%2Fstyles&preview=stylebook
.
Additionally, Style Book support was added for classic themes.
Between new blocks and additional ways to use existing blocks, WordPress 6.8 brings useful enhancements to the Block Library that expand what you can build and how you build it.
WordPress 6.8 ships a new block for sharing information to visitors about the current posts query: Query Total. It should be used inside an existing Query Loop block and has two display options:
WordPress 6.8 brings the lightbox effect to the Gallery block. The feature is the same as it already works for individual Image blocks. You set the lightbox effect at the Gallery level by clicking on the Link button in the toolbar and selecting the Enlarge on click option.
It’s worth noting that this feature does not create a lightbox slideshow where you can scroll through all images for the Gallery; it merely applies the existing lightbox feature to the individual Image blocks.
You can now group multiple Details blocks together via the
name
HTML attribute. When multiple
<details>
elements share the same
name
, browsers will automatically close an open
element when another is opened, creating an accordion effect. You
can set the name
attribute underAdvanced → Name
Attribute in the block inspector sidebar.
The Details block also gained HTML anchor support in WordPress 6.8. It is located under Advanced → HTML Anchor.
WordPress 6.8 boasts smaller feature additions to several other blocks, including:
<div>
element for decorative-only use cases (the default
<hr>
is meant for an actual thematic break in
the content).WordPress 6.8 includes a couple of CSS-related changes that are unlikely to break theme designs, but they are worth noting as general improvements:
box-sizing: border-box
applied, which brings consistency with other blocks.data-wp-bind--style
directive rather than an inline
<style>
tag.Many Core blocks received much-needed design tool updates, improving consistency in block styling options.
In this context, design tool support means that the supported
options appear for these blocks in the editor UI. Even if a block
doesn’t support the tool, you can still configure the associated
styles via theme.json
.
The Archives, Category, Content, and Page List blocks now support more color tools. Many blocks also gained border support:
The Content, Page List, and RSS blocks also now support spacing design tools.
For a full list of design tools support, check out the roster of design tools per block (WordPress 6.8 edition).
Developers can now organize patterns in more intuitive, straightforward ways.
If you ship a lot of patterns with your theme, you may have been
frustrated with a seemingly endless, unorganized list under your
/patterns
folder.
With WordPress 6.8, you can organize your custom patterns in subfolders under
/patterns
, making navigation more straightforward.
For example, you may separate header and footer patterns in your theme folder like so:
/patterns
/header
centered.php
default.php
/footer
default.php
links.php
In the UI, patterns that have been assigned to the
core/post-content
block type (the method for
registering a starter pattern) appear under the Starter Content category. This goes hand-in-hand
with another update that lists all patterns in the inserter.
Content creators who want to prevent the Starter Content modal from appearing for every new page can disable it with a toggle switch on the bottom of the modal or via the Editor → 3-dot-menu → Preferences screen.
With the new version, theme developers can add starter content patterns for all post types: posts, pages, and any registered custom post types.
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.
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.
You can find a best-practices guide for the 6.8 release on the Make WordPress Core blog. Following these best practices will help keep your code up to date with the latest standards and set you up better for future iterations of the API.
The Block Hooks API received two major updates. The first extends the Block Hooks mechanism to post content, allowing you to dynamically insert hooked blocks directly into posts and pages. The second update lets Block Hooks work with synced patterns.
bcrypt
for password hashingThe algorithm that WordPress uses to hash and store user
passwords in the database changed in WordPress 6.8 to
bcrypt
.
It previously used phpass
, but the adoption of
bcrypt
strengthens password security by requiring
significantly more computational power to crack password
hashes.
If your plugin uses the wp_hash_password()
or
wp_check_password()
functions, it should continue
working as expected. However, if you were directly handling phpass
hashes, you would need to update your code.
Read the developer note on the update for more details.
The post also provides details on the new
wp_fast_hash()
and wp_verify_fast_hash()
functions for hashing a randomly generated string with sufficient
entropy.
Finally, WordPress 6.8 brings some helpful performance improvements to all sites.
WordPress 6.8 introduces speculative loading, which lets supporting browsers prefetch or prerender URLs. It can lead to almost instant page load times since they are loaded before the user navigates to them.
This feature was initially released in April 2024 as the Speculative Loading plugin. Since then, contributors have refined the code until it was ready for inclusion in WordPress Core.
The new feature comes with several filter hooks for you to modify how speculative loading works:
wp_speculation_rules_href_exclude_paths
:
For excluding URL patterns from speculative loading.wp_speculation_rules_configuration
:
For modifying the speculative loading configuration.wp_load_speculation_rules
: For
including additional speculative loading rules.useSelect
performance
warningWhen you have SCRIPT_DEBUG
enabled (as is common
practice in development), WordPress will now output potential performance warnings in the
console when useSelect
is used to unnecessarily
re-render. This change will benefit anyone extending the block
editor and help them write more performant code.
Before WordPress 6.8, the
should_load_separate_block_assets
filter hook had two
responsibilities:
wp-block-library
stylesheet
containing all block CSSIn 6.8, a new filter hook named
should_load_block_assets_on_demand
exists for the
second purpose of determining when to load assets. The original
hook will work as before, but it’s recommended to filter it only to
override whether stylesheets should be separated.
WordPress 6.8 continues to move the WordPress software forward with cleaner APIs, improved performance, and better tools for site building. Whether you’re shipping themes, maintaining a plugin, or just exploring what’s possible with the block editor, this release will make your workflows more efficient and your code easier to maintain.
If you’re building on WordPress.com, all of this is available to you automatically—no version management required. You get the latest features, developer tools like SSH and GitHub deployments, and a fully managed environment that stays out of your way so you can focus on shipping.
Host on WordPress.comRead more https://wordpress.com/blog/2025/04/16/wordpress-6-8-developers/
The Laravel team released v12.9.0, which includes a "memoized" cache driver, convenient relationship autoloading for a model instance, a DB transaction failure callback, and more.
The post Memoized Cache Driver in Laravel 12.9 appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Simple, customizable cookie consent message for Laravel
The post Laravel Cookie Consent appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
WordPress version 6.8 launched on April 15, 2025, bringing new features and improvements to enhance your WordPress site-building experience. This update focuses on streamlining workflows, improving design capabilities, and making content creation more intuitive.
All WordPress.com sites are already running on WordPress 6.8 or will be shortly—we automatically update your WordPress version for you, so you don’t need to worry about doing it yourself to get access to these new features.
Let’s dive into the most noteworthy enhancements you can expect in this major release.
WordPress 6.8 is all about refinement: improving existing tools rather than introducing new ones, with a strong emphasis on enhancing site design workflows.
The Style Book is a powerful feature in the Site Editor. It provides a comprehensive overview of your site’s colors, typography, and block styles in a single organized location.
In WordPress 6.8, the Style Book has a new, structured layout and clearer labels, making it even easier to edit colors, typography, and almost all your site styles in one place.
This release also adds a new way to access the Style Book directly from the Styles menu item in the Editor sidebar.
WordPress 6.8 continues to evolve the design experience with improved tools that give you more control over your site’s appearance without requiring coding knowledge. These enhancements make creating polished, professional designs more accessible for everyone, regardless of technical expertise.
With the focus on refinement, many core blocks have been updated to include small but powerful features.
The Query Loop block will get several new features in WordPress 6.8, including the ability to:
These features provide much finer control over your content’s appearance on archive pages or in content overviews.
Content creators will appreciate the new Query Total block, which displays the number of posts found in a specific query loop. This is particularly useful for archive or search results pages, where showing “12 posts found” or similar messaging provides helpful context for your visitors.
This addition makes your site more user-friendly by setting clear expectations about displayed content.
WordPress 6.8 also brings some changes to the Cover block—one of WordPress’s most versatile content containers. It now includes resolution controls for images and backgrounds.
This adds finer control over these images and allows you to create eye-catching headers and section introductions.
The Details block, which creates expandable sections within your post or page content, has been enhanced to include a name attribute field. This allows groups of Details blocks to be connected and styled, making it easier to create effective FAQ sections or content that progressively reveals information to readers.
This update also brought some changes to the File block, enabling users to update the filename and download button text. This allows for better customization of how files appear to your visitors.
The Gallery block now features a new option called “Expand to click.” When enabled, users can open all images in a lightbox gallery with a single click.
A particularly useful addition to the WordPress software is the ability to set any Image block as your post’s featured image with just a few clicks. This will streamline your workflow by eliminating the need to set the same image in two places when you want to feature an image that’s already in your content.
The Navigation block continues to evolve with WordPress 6.8, offering better management of complex menus. Menu names are now displayed in the List View for easier orientation, and a Clear option was added to the color picker for faster design implementation. Under the hood, improvements to the Navigation block’s code structure make it more efficient when rendering menus.
The Social Icons block now supports Discord, provides an easier method to clear color options, and streamlines adding social links. These refinements make it easier to connect your visitors to your social media presence while maintaining your site’s design aesthetic.
The Site Editor also includes new features that give you more control over your content.
WordPress 6.8 introduces a convenient reset button across various design controls. Thanks to the inline reset button added to all color controls, you can now reset colors for blocks and global styles with a single click. This same reset functionality extends to the Shadow panel and Duotone settings.
Instead of manually removing settings one at a time, you can now quickly reset elements with a single action. This small but significant improvement will save designers considerable time when experimenting with different looks for their sites.
The block options menu now includes a Cut action alongside the existing Copy option in the dropdown menu. This addition completes the standard set of content manipulation tools, making it easier to move blocks and sections from one location to another within your content.
WordPress 6.8 enhances the Command Palette with two powerful new commands that streamline your workflow:
These commands can be accessed by pressing cmd+K on Mac or ctrl+K on Windows; this shortcut will open the Command Palette from any editor screen that supports the palette.
With WordPress 6.8, a new pattern category called Starter Content makes it easier than ever to begin creating with professional layouts. This category lists page layouts that are otherwise available via the New Page modal.
If you’ve disabled the starter content pop-up when creating new pages, this category ensures those layouts remain accessible when needed. The Inserter now always shows all available patterns in a list view, making it easier to browse through your options.
WordPress 6.8 represents another significant step forward in making website creation and management more accessible and efficient. With its focus on improved design tools, enhanced block functionality, and streamlined editing processes, this update offers something valuable for content creators at every skill level.
And if you’re looking for rock-solid WordPress hosting to try out some of these new 6.8 features, check out WordPress.com. We run the same WordPress software trusted by over 40% of the web—we just manage the hosting, security, performance, and maintenance so you don’t have to.
Get WordPress.com hostingRead more https://wordpress.com/blog/2025/04/15/wordpress-6-8/
In the Joomla world, iCagenda is an essential extension for event management. Solid, scalable and designed with the user in mind, it powers thousands of sites around the world. But who really knows its creator, Cyril Reze? A self-taught developer based in Brittany, France, Cyril cultivates discretion as much as rigor. Hardly ever in the spotlight, he prefers to let his code and his passion for user experience do the talking. In this interview, he opens the doors to his career, shares his challenges, his future projects and his vision of Joomla. A rare encounter with a committed, humble contributor, always driven by the desire to move the community forward.
Read more https://magazine.joomla.org/all-issues/april-2025/cyril-reze,-the-man-behind-icagenda
Page 6 of 1445