Keeping Your Site Safe
WordPress 5.2 gives you even more robust tools for identifying and fixing configuration issues and fatal errors. Whether you are a developer helping clients or you manage your site solo, these tools can help get you the right information when you need it.
Site Health Check
Building on the Site Health features introduced in 5.1, this release adds two new pages to help debug common configuration issues. It also adds space where developers can include debugging information for site maintainers. Check your site status, and learn how to debug issues.
PHP Error Protection
This administrator-focused update will let you safely fix or manage fatal errors without requiring developer time. It features better handling of the so-called “white screen of death,” and a way to enter recovery mode, which pauses error-causing plugins or themes.
Improvements for Everyone
Accessibility Updates
A number of changes work together to improve contextual awareness and keyboard navigation flow for those using screen readers and other assistive technologies.
New Dashboard Icons
Thirteen new icons include Instagram, a suite of icons for BuddyPress, and rotated Earth icons for global inclusion. Find them in the Dashboard and have some fun!
Developer Happiness
PHP Version Bump
The minimum supported PHP version is now 5.6.20. As of WordPress 5.2, themes and plugins can safely take advantage of namespaces, anonymous functions, and more!
Privacy Updates
A new theme page template, a conditional function, and two CSS classes make designing and customizing the Privacy Policy page easier.
New Body Tag Hook
5.2 introduces a wp_body_open
hook, which lets themes support injecting code right at the beginning of the <body>
element.
Building JavaScript
With the addition of webpack and Babel configurations in the @wordpress/scripts package, developers won’t have to worry about setting up complex build tools to write modern JavaScript.