What’s New in WordPress 5.7: Lazy Loading for iFrames, Better Gutenberg Features, and More

4 Min Read
What's new in WordPress 5.7 Thememum

WordPress is evolving to something more than anything we ever expected it to be. What started out as a simple blogging tool is becoming a full-fledged content management system for about 40% of all the websites on the world wide web.

A major release for the newest version of WordPress is just around the corner. The core dev team is supposed to release 4 major releases of WordPress this year, and in this post, you will find out what’s new with the first major release of the year.

This software is still in development, so it’s not recommended to run this version on a production site. Consider setting up a test site to play with the new version.

Disclaimer: WordPress 5.7 is still in development, so it’s not recommended to run this version on a production site. You can set up a test environment to play with this version.

You can test the WordPress 5.7 Beta in a couple of ways:

  • Install and activate the WordPress Beta Tester plugin (select the bleeding edge channel and the Beta/RC Only stream from settings).
  • Direct download the beta version here (zip) and install it directly to your testing environment.

The current date for the final release of WordPress 5.7 is March 9, 2021. That’s just weeks away. So let’s find out what’s new? ?

Note: The current Twenty Twenty One theme will remain as the default theme for WordPress 5.7 release and further (Well, until 2022, obviously)

Improvements in WordPress Core

The following things are the changes that will be found in the upcoming major release of WordPress.

Lazy-load iFrames

Now with the latest update, you can enable lazy-loading of iFrames by adding the loading="lazy" attribute to iFrame tags on the front-end. 

There are some concerns regarding the lazy loading feature for implemented ads as they have their own mechanism to handle lazy loading from their respective ad platform. We are sure this will be handled properly by the core developers.

Source: Lazy-loading iFrames in 5.7

Migrating From HTTP to HTTPS Streamlined

Switching a WordPress site from HTTP to HTTPS is quite a tough process for all parties involved. 

While on the surface, the site address and WordPress post/page address have to be updated, content with embedded HTTP URLs remained unchanged in the original database. But with this release, migrating a site to HTTPS is now a one-click operation. URLs in the database are automatically replaced when the site and WordPress post/page address are both using HTTPS.

Note: Site Health tool now includes an HTTPS status check.

Migrating From HTTP to HTTPS Streamlined WordPress 5.7
Migrating From HTTP to HTTPS Streamlined

Standardize Colors Used in WP-Admin CSS to a Single Palette (Accessibility)

Standardize Colors Used in WP-Admin CSS to a Single Palette (Accessibility) WordPress 5.7
Standardize Colors Used in WP-Admin CSS to a Single Palette (Accessibility)

With the release of WordPress 5.7, standardized colors are used in wp-admin CSS to a single palette for better accessibility.

The palette makes it easier than ever to build components your users can read, because half the color range gives you users great contrast with white type and a half with black, according to provided accessibility guidelines.

Ongoing Cleanup After Update to J-Query 3.5.1 (for Developers)

WordPress is continuing its migration from Query to jQuery 3. This cleans up the amount of notification for the general users. Now deprecations in WordPress Core and bundled themes show up a lot less often, and the notifications make more sense to the user.

New Robots API

The new Robots API allows the filter directives to be included in the robots’ meta tag. This setting is useful for developers who want to restrict the Robots API call to specific pages, or domains. Also, the directive max-image-preview: large is now included by default to allow large image previews to be displayed in search engines or other platforms.

Improvements in the Gutenberg Editor

The following improvements have been made in the latest update of the WordPress core for the Gutenberg editor.

  • Gutenberg blocks made draggable: You can now drag and drop any block to anywhere on Gutenberg editor. Block patterns can also be dragged directly from the inserter into the post canvas.
  • Full height alignment for blocks: Blocks (eg: Cover block) can now be expanded to fill the entire viewport.
Full height alignment for blocks WordPress 5.7
Full height alignment for blocks
  • Block variations: The icon and description of a block variation are now shown in the block inspector, and a new dropdown in the block inspector lets you switch between block variations.
  • Reusable blocks: Several enhancements to the usability and stability of reusable blocks have been made, and reusable blocks are now saved at the same time that the post is saved.
  • Buttons block: The Buttons block now supports vertical alignments, and you can set the width of a button to a preset percentage.
Buttons block alignement new feature WordPress 5.7
Buttons block vertical alignment
  • Social Icons block: You can now change the size of the icons in the Social Icons block.
Social Icons block new size feature
Social icons block size selection option
  • Font size in more places: You can now change the font size in the List and Code blocks.
Font size in more places new feature WordPress 5.7
Font Size Selection in more places

You can learn the complete list of changes coming to WordPress 5.7 from the official WordPress.org news section.

What It Means for Themeum Users!

Excited as much as we are about the upcoming WordPress core release. We are making sure our products are compatible with the new release so you don’t face any problems.

It is one of our main focuses in the upcoming days. You should expect WordPress 5.7 compatibility very soon. So rest assured that you will not miss out on anything.

Excited for the Upcoming WordPress 5.7?

As you can see from the description above, WordPress 5.7 is a significant release not just as a version number increase, but also in features.

The final release is expected to be on 9th March 2021. Till then we would have to wait and the community reception of the latest update.