Call for Testing: WordPress 5.7 Beta

The beta for WordPress 5.7 is available now.

What is being added or changed?

WordPress 5.7 includes the following features:

  • Improvements to the block editor, including improvements to inserter drag-and-drop, full height alignment, block variations, reusable blocks, the buttons block, the social icons block, and many bug fixes.
  • The ability to standardize colors used in WP-Admin CSS to a single palette.
  • A new Robots API, which allows the filter directives to be included in the ‘robots’ meta tag.
  • Changes to jQuery.

So far, contributors have fixed 143 tickets in WordPress 5.7, including 68 new features and enhancements, and more bug fixes are on the way.

The core community team is expecting to publish 5.7-related developer notes in the coming weeks, and these will describe the above changes in more detail.

Changes to jQuery

Developers will need to update jQuery dependencies in their themes and plugins in order to co-ordinate with a three-step plan to update the version of jQuery included in WordPress. This plan was announced by the Core WordPress Community team last June. The changes involved have been spread across three major releases and 10 months.

The three steps were as follows:

  1. Remove jQuery Migrate 1.x.
    This was completed in WordPress 5.5 (August, 2020).
  2. Update to the latest version of jQuery (3.5.1) and add the latest version of jQuery Migrate (3.3.2). Update to the latest jQuery UI (1.12.1).
    This was completed in WordPress 5.6 (December, 2020).
  3. Remove jQuery Migrate completely.
    This is included in WordPress 5.7 (March, 2021).

Update: Step 3 in the changes to jQuery in WordPress core has been moved to the WordPress 5.8 release, expected in June, 2021.

Is there a plugin that I can use, instead of upgrading themes and plugins?

The jQuery Migrate Helper plugin may allow users to continue to use an outdated, legacy version of jQuery. However, we recommend using the latest version of jQuery in WordPress core for performance and security reasons, as well as for continued plugin compatibility.

What changes do I make? How do I test?

The core team has provided some jQuery-related testing instructions and an overview of the changes necessary.

Testing with the Test jQuery Updates plugin

You may want to test locally using the Test jQuery Updates plugin. It is also possible to enable the plugin in non-production environment on the VIP Go platform. The plugin is enabled if the VIP_ENABLE_TEST_JQUERY_UPDATES constant is set. You can also use vip_load_test_jquery_updates in a query string.

Will my jQuery-dependent code work?

We’ve created a chart that summarizes which jQuery-dependent code is likely to work in WordPress 5.6, as compared to other versions of WordPress. Please note that this should be used for rough guidance. Testing is strongly recommended.

Will my code work?: jQuery changes in WordPress core versions

What do I need to do?

We recommend:

  1. Updating your local development environments to the beta release using the Beta Tester plugin or updating it to track 5.7 (i.e. trunk) via either the Subversion or GitHub repos.
  2. You can have your non-production sites switched to WordPress 5.7 now. If this is something you’re interested in, please open a ticket and we can set it up for you.

Testing for bugs is a vital part of polishing the release during the beta stage and a great way to contribute. ✨

WordPress Core Team

When will WordPress 5.7 be deployed?

WordPress 5.7 will be rolled out to all VIP Go sites on March 9, 2021.

Please note that the deployment dates are subject to change if critical issues are discovered during testing or the public release is delayed. We’ll post updates to the Lobby if the dates do change.

Questions?

If you have testing feedback or questions, related to this release, please open a support ticket and we will be happy to assist.