WordPress 5.7

Today March 9 we have with us the new version of WordPress. Specifically, it is 5.7 and it is the expected first update of the year. What improvements does it bring us this time? In this analysis we tell you everything.

WordPress 'Hope'

As expected, again WordPress brings us closer to a musical talent. For those who weren't aware, each new WordPress update is named after a jazz artist. In this case it was Esperanza Spalding's turn.

Hope Spalding is a current American jazz singer, double bassist and bassist. His most listened to hits include I can't help it, precious Y I know you know.

Thanks to this custom, we are invited to discover, perhaps, a new artist.

WordPress takes its Gutenberg site builder seriously, and version 5.7 is a big step toward the end goal of the year: absolute editing of an entire site with Gutenberg.

Improvements in editing with Gutenberg

The WordPress Edit Screen is par excellence the corner where admins and web developers spend most of their time. This is where our content is created, written, and visually designed.

Since Gutenberg was born, each subsequent WordPress update brought new features and improvements to the editor. WordPress 5.7 is no exception. Its launch gives us additional possibilities and various optimizations that add breadth and flexibility to the native editing experience.

Drag and Drop Blocks

As of WordPress 5.7, it is possible drop a new block exactly where we need it. While this feature has been around for a long time in typical builders like Elementor, it is appreciated that the WordPress community has included this feature in the new version.

Full Height Blocks

Full height blocks are areas that occupy the full height of the screen size of the user in question. This is useful for adding images, banners, and sliders that take up the entire visible screen of a device. Of course, scrolling down will hide that block so we can display the rest of our content just like any other element.

Block variations can now have their own descriptions

WordPress 5.7 now displays descriptions for block variations. For example, the social icon block displays Facebook, Twitter, and other social logos. We can see them in the block inspector with a preview.

Icon sizes

As of 5.7, WordPress allows us to set the size of the icons for networks in four alternatives: small, normal, large and huge.

improved buttons

With WordPress 5.7 it is possible to vertically align buttons in the block editor. We can also choose between a pre-established percentage width.

Adjust font size for more blocks

Another interesting enhancement to the Gutenberg block editor is the ability to adjust font size for more kinds of blocks. Among them, the list block and the code blocks.

Easy migration from HTTP to HTTPS

Until the previous version, if we moved our URL from HTTP to HTTPS, we were required to manually update all URLs that appeared in our content. If we did not take such work, we were left with "mixed content", bad for both SEO and the validity of our certificate.

WordPress 5.7 makes it easy to migrate a site to HTTPs. From now on we will view the availability of HTTPS in the Site Health area as a critical issue. There, the admins will be able to click on a simple but powerful button that will update all the URLs for us. We consider this tool to be a great achievement both for saving us time and effort as well as for pushing us to launch our site on HTTPs without much consideration.

Sending password reset links by Admins

The new password reset feature in WordPress 5.7 allows administrators to manually send a password reset link to users. Instead of having to tell a user what to do and where to go in order to create a new password, this functionality generates a link with a single click. This can be done via a button. If you've ever needed to support your WordPress clients or a community of users on your sites, this new password reset feature will save you a ton of time helping your users regain access to their accounts.

The “Submit Password Reset” link is available in several places. Admins can find the link on the Users screen as well as in the bulk actions dropdown.

Deprecation cleanup after jQuery 1.12.4 → 3.5.1 update

WordPress is characterized by its backward compatibility. In this context, we can believe that this change is a true hero of this philosophy. The waters have been divided, this change representing a thick before and after. Since WordPress ships with jQuery installed, many developers take advantage of that version instead of installing another one in a different location.. Summary, thousands of current themes and plugins depend on version 1.12.4 and now You will need to make sure your code is compatible with jQuery 3.x.

As abrupt as it may seem, this change has been underway for some time. The “move” work began in WordPress 5.5. Ergo, 5.7 would complete a third phase update.

New Bots API

WordPress 5.7 introduces a new robots API. This API allows developers to programmatically control and update the 'robots' meta tag on a website.

Let's remember: meta-tag robots It allows you to tell search engine bots how to crawl and index a website. Historically, this can be accomplished in two ways. One, adding a file robots.txt to the root folder of your site, or, much easier, by using the 'robots' meta tag.

With WordPress 5.7, a new function called wp_robots is introduced. allowing developers to modify the robots meta tag by adding their own filters to the function. This is an example of how it works:

function wporg_wp_robots_add_follow( $robots ) {
$robots['follow'] = true;
return $robots;
}
add_filter( 'wp_robots', 'wporg_wp_robots_add_follow' );

WordPress 5.7 also adds a directive max-image-preview:large to the 'robots' tag by default. This allows search engines use large image to preview in search results. Nothing minor.

This is what that source code looks like on your site upgraded to 5.7:

<!DOCTYPE html>
<html>
<head>
<goal name="robots" content="max-image-preview:large" />
</head>

Note: WordPress automatically hides this tag on websites that have search engine visibility blocked in their settings.

If you want to disable this feature and allow search engines decide what image size to use for previews, you can add the following code to functions.php.

remove_filter( 'wp_robots', 'wp_robots_max_image_preview_large' );>

Native Lazy Loading for iFrames

WordPress 5.7 now enables lazy loading for iframe embeds by default. Remember that this technique is a method to postpone the download of a portion of the content, allowing the texts to be displayed before, for example, multimedia content. It also allows you to postpone the download of items outside the screen height of a device (that is, what is not in view unless you scroll the screen).

WordPress used lazy loading for images since version 5.5. In this case we see new efforts to improve site speed, in addition to increasing your SEO score.

Starting with this new version, all embeds that use iframes (ex: YouTube) will use the lazy loading method to improve the access speed of your website.

Optimization of standardized color schemes

WordPress now standardizes the color palette of your Dashboard. It may sound technical but it's a huge improvement: as of 5.7 it uses sass to generate CSS files on the fly, ie dynamically.

Several years ago WordPress already natively had a series of color schemes. However, adding new color schemes was difficult as the developers had to deal with the Sass variable based system. This change: WordPress 5.7 now collapses all colors used in the CSS to one of the available hues of blue, green, red, yellow, grey, black and white. This provides developers a palette with a wider range of light/dark color schemes.

Conclusions

It's clear that the community behind WordPress is hard at work making their very own Gutenberg site builder more polished. And the truth is that it is a noble effort that is greatly appreciated. The philosophy behind WordPress is that we need less and less third-party plugins, except, of course, when it comes to special features. Today one can install a WordPress from scratch and have all the essential tools to create content on the spot immediately at hand.

For the rest, we have a new, faster and more secure WordPress, where the code has been cleaned up, eliminating redundancies and obsolence in general.

WordPress continues to lead the most used CMS on the planet, and each new update shows us that it is still the King.

If you host your site on Duplika, the automatic update of your WordPress should already have been done. Check it out by going to your desktop.

If your WordPress has not been updated and you do not know how to carry out this process, write to us at [email protected]. We also encourage you to tell us your impressions of the new WordPress in the comments.

Good luck, and thanks for reading.

We are Duplika

Give your site the hosting it deserves

no comments on WordPress 5.7

back to blog

Duplika

Duplika

We are online, we are not a bot :)

I will be back soon

Duplika
Hi 👋
Select the prefered contact method to get in touch.
Connect via:
chat