What’s New in WordPress 5.1 (Moving PHP Forward)

WordPress 5.1 is the latest major release of the popular content management system. It brings a number of new features and improvements, including:

• Improved Site Health: WordPress 5.1 includes a new Site Health feature that provides users with information about their site’s performance and security.

• PHP Error Protection: WordPress 5.1 includes a new feature that helps protect sites from fatal errors caused by plugins and themes.

• Improved Accessibility: WordPress 5.1 includes a number of improvements to make the platform more accessible for users with disabilities.

• Gutenberg Editor Improvements: WordPress 5.1 includes a number of improvements to the Gutenberg editor, including improved block management and a new block directory.

• Improved Performance: WordPress 5.1 includes a number of performance improvements, including improved database performance and better support for large sites.

• PHP 7.3 Support: WordPress 5.1 adds support for PHP 7.3, the latest version of the popular programming language.

WordPress 5.1 “Betty” was officially released on February 21, 2019, and is available for download.

WordPress 5.1 is the first major release since the launch of the WordPress block editor (AKA Gutenberg) in WordPress 5.0. And while it does bring some tweaks and improvements for the block editor, the biggest new features in this release involve the WordPress Site Health project and notices for PHP versions.

Update: What’s New in WordPress 5.3

In this post, we’ll take a look at all of the new features that might affect how you use WordPress:

New Dashboard Notice for PHP Version

Here at Kinsta, we always recommend using the latest versions of PHP for improved performance and security.

From our benchmarks, PHP 7.3 is on average 9% faster than PHP 7.2. And If you compare PHP 7.3 to PHP 5.6, it can handle almost 3x as many requests (transactions) per second! You should always test your plugins and themes first on a staging site for compatibility. If all is good, make sure to take advantage of this free performance boost.

WordPress is now finally getting on board with pushing the latest versions of PHP with some new tools and notices to promote PHP versions and compatibility.

First up, if you’re running an outdated version of PHP on your server with WordPress 5.1, you’ll see a new dashboard widget prompting you to install the latest version of PHP.

WordPress 5.1 PHP version dashboard prompt
WordPress 5.1 PHP version dashboard prompt

If you host at Kinsta, there’s zero chance you will see this message because the minimum PHP version that we allow is PHP 5.6. Right now, the warning will only trigger for PHP versions under that.

We wish the WordPress team had gone with a higher version, but this is a step in the right direction. Also, if you click on the button to “Learn more about updating PHP” in the notice, the official WordPress docs do recommend PHP 7.3. ?

PHP Version Compatibility Checks for Plugins and Themes

Beyond the soft prompt in the WordPress dashboard, WordPress 5.1 also adds forced PHP compatibility checks when you go to install a new plugin or theme. This is awesome for developers!

For a while, WordPress plugins developers have been able to set a minimum PHP version required as a comment in the plugin header. However, up until now, this hasn’t done anything but show what minimum PHP version the developer is willing to support.

In WordPress 5.1, if you try to install a new plugin or theme from WordPress.org where the developer has set a minimum PHP version higher than the version on your server, you’ll see a message telling you that “This plugin doesn’t work with your version of PHP. Learn more about updating PHP.”

Additionally, you will be prevented from installing the plugin. At this time, you can get around this by manually downloading the ZIP file from the repository and installing a plugin that way. But really – just update your PHP version!

PHP compatibility check for plugins
The PHP compatibility check for plugins

White Screen of Death Protection

WordPress 5.1 was scheduled to introduce a new feature called “fatal error protection” which would protect from the WordPress white screen of death while updating PHP.

Unfortunately, this feature was been pulled from the WordPress 5.1 release at the last minute. However, it’s for good reason.

The fatal error protection mechanism explained here has been pulled out of the 5.1 release as it had several flaws critical enough to postpone the feature. A new path to address the issues is underway via #46130 and is intended to be released as part of WordPress 5.2.
Felix Arntz

With this protection, WordPress will recognize when a fatal error occurs and pause the offending theme or plugin in the WordPress admin dashboard so that you’ll still be able to log into the backend of your site and (hopefully) fix the problem. For less tech-savvy users, this will be a great new feature once they iron out all the problems.

Check out our video guide to fixing the White Screen of Death:

If your site experiences issues while upgrading PHP versions, it will look like below on the front-end, but you should still be able to log into the backend to fix the problem.

Fatal error protection in WordPress 5.1
Fatal error protection in WordPress 5.1

Improved Block Editor Performance

Since the initial release of the Gutenberg block editor in WordPress 5.0, the Gutenberg team has been hard at work improving the block editor. If you remember from our annual PHP benchmarks, we found that WordPress 5.0 and 5.02 were actually slower than WordPress 4.9.8. That’s not good! Best rest assured, the WordPress core team is working on this.

There was a bit of confusion as the Gutenberg team released Gutenberg 5.1 at the same time as the core team released WordPress 5.1.

Despite the identical version numbers, WordPress 5.1 does not include Gutenberg 5.1. Instead, WordPress 5.1 includes Gutenberg 4.8.

As such, the biggest changes to the block editor in WordPress 5.1 deal with performance. Compared to WordPress 5.0, you should see faster load times in the editor and a shorter KeyPress event time.

There’s more good news, too. The block editor performance will get even better once the most recent versions of Gutenberg are merged into the core – you can see a performance comparison of different Gutenberg versions below (remember – WordPress 5.1 includes Gutenberg 4.8 – so that’s where we’re at right now).

Gutenberg performance benchmarks for different versions
Gutenberg performance benchmarks for different versions

Changes for Developers

Beyond the new user-facing features above, WordPress 5.1 also packs some new features for WordPress developers.

Multisite Metadata

WordPress 5.1 adds a new database table to store metadata associated with sites. Learn more.

Cron API

The Cron API now has new functions to help with returning data. You’ll also get new filters to modify cron storage. Learn more.

New JavaScript Build Processes

WordPress 5.1 offers a new JavaScript build option. You can learn more about the specific tweaks here.

How to Update to WordPress 5.1

Every customer’s site is different. For that reason, we always recommend utilizing your site’s provided staging environment (and if one staging environment isn’t enough, you can add on up to five Premium Staging Environments as well). You can clone your live site in a matter of seconds and then test WordPress 5.1 with your existing theme and plugins to check for compatibility. You can of course also take a manual backup before updating your live site, just to be safe.

To update WordPress to 5.1 simply click on the updates icon in your WordPress admin dashboard. And click on the “Update Now” button. While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.

How to update to WordPress 5.1
How to update to WordPress 5.1

As long as everything goes well with the update you should then see the “What’s New” screen. And that’s it! Quick and easy.

The WordPress 5.1 welcome screen
The WordPress 5.1 welcome screen

After clicking around in the dashboard you will also receive a message to update your database to the newest version. Simply click on the “Update WordPress Database” button and you’re good to go.

Database update required
Database update required

Troubleshoot Issues with WordPress Update

Whenever people update a major version of WordPress, there are always some that experience issues, and that is due to the thousands of different plugins and themes currently co-existing in the market. Here are a few ways to troubleshoot common issues.

  • Getting the white screen of death? This is commonly resolved by simply restarting PHP and deleting the full page cache on your WordPress site.
  • Try deactivating all your plugins to see if that fixes your issue. Then reactivate them one by one until you find which plugin might need an update from the developer.
  • Try switching over to a default WordPress theme, such as Twenty Twenty. If this fixes your problem, you might want to reach out to your theme developer.
  • Troubleshoot and diagnose JavaScript issues in your browser.


While there aren’t any big front-facing features in this release, WordPress 5.1 adds some great features to push for healthier WordPress sites.

The focus on PHP versions will hopefully push the large percentage of WordPress users running out-of-date PHP versions to update to more recent versions, and the block editor performance improvements are much welcomed.

What do you think of WordPress 5.1? Does anything catch your eye? Anything you wish they would’ve included?


Source link

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman


Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.


Jassweb, Rai Chak, Punjab, India. 143518
Item added to cart.
0 items - 0.00