WordPress is a free and open-source blogging tool and a content management system (CMS) based on PHP and MySQL. Features include a plugin architecture and a template system. WordPress was used by more than 23.3% of the top 10 million websites as of January 2015. WordPress is the most popular blogging system in use on the Web, at more than 60 million websites.
What is New in WordPress 5.2?
WordPress 5.2 “Jaco” was officially released on May 7, 2019, and is available for download.
This version comes packed with a lot of exciting changes, the biggest one being the new Site Health check tool which will help both educate users and give developers the essential information they need. Other improvements include PHP error protection (fewer white screens of death), block editor improvements, new dashicons and emojis, and various developer and accessibility updates.
As the WordPress team describes it:
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.
This is the second major release since the launch of the WordPress block editor (AKA Gutenberg) in WordPress 5.0. Below we’ll dive into all the new improvements and the most important changes you will find with this latest WordPress release.
We saw the first site health check features back in WordPress 5.1 when they added PHP version compatibility checks for plugins and themes. In WordPress 5.2, they’ve added a completely new tool which comes with two new pages to help debug common issues due to server and software configurations, PHP versions, etc.
Under “Tools” → “Site Health” there is a new page called “Status.” The site health check shows critical information about your WordPress configuration and items that require your attention.
One thing you’ll probably notice right away is that they’ve added a percentage score grade at the top of the page based on how many tests your site passes. Some aren’t happy about this and there is a discussion among developers of whether or not a grading system should exist. The main reason is that scores sometimes create additional problems as users are obsessed with scoring 100%.
However, we are glad to see this, as it will help raise awareness among users. For example, a check for inactive plugins and themes is important. Why?
Many don’t realize that simply because something isn’t active on your WordPress site doesn’t mean someone can’t execute the code if they browse directly to it. Therefore, in order to keep your WordPress site secure, it’s recommended to completely remove inactive themes and plugins if they aren’t being used.
The tests in the new Site Health tool includes checks for the following performance and security-related items:
- Latest WordPress version
- Up to date version of PHP
- Up to date SQL server
- Required and recommended PHP modules are installed
- UTF8MB4 is supported
- Scheduled events
- Working HTTP requests
- REST API available
- Can perform loopback requests
- Only running active themes
- Up to date plugins
- HTTPs connection
- Secure communication
- Debug mode off
- Can communicate with WordPress.org
- Background updates are working
The tests are also filterable via
site_status_tests, meaning plugin or theme developers can add their own tests, or remove existing ones.
Under “Tools” → “Site Health” there is another new page called “Info.” This is a place to find helpful debugging information about your WordPress site’s configuration which you can share with developers, hosting providers, etc. There is a handy “Copy site info to clipboard” button which allows you to easily grab the information and paste it into a text file to share with a third-party.
The Site Health Info page contains hundreds of different data points about your WordPress site. Without a doubt, this new page will help developers get the information they need from users faster.
Here’s just a small snapshot of some of the awesome and very helpful details you can quickly see.
- WordPress: WordPress version, site language, user language, Home URL and Site URL, permalink structure, multisite check, number of users.
- Directories and Sizes: WordPress directory location, size, upload location and size, theme location and size, plugin location and size, database size, total installation size.
- Active Theme: Name of theme, version, author, author website, parent theme, theme features, theme directory location.
- Must Use Plugins: Details of any must use plugins currently running, version numbers, and author names.
- Active Plugins: Active plugins running, version numbers, and author names.
- Media Handling: Active editor, ImageMagick version number, string, resource limits, GD version, Ghostscript version.
- Server: Server architecture (such as Linux, Windows, etc.), Web server (such as Nginx or Apache), PHP version, PHP SAPI, PHP max input variables, time limit, memory limit, max input time, upload max filesize, post max size, cURL version, SUHOSIN status, Imagick library status, .htaccess rules.
- Database: Extension, server version, client version, database user, host, name, prefix.
- WordPress Constants: ABSPATH, WP_HOME, WP_SITEURL, WP_CONTENT_DIR, WP_PLUGIN_DIR, WP_MAX_MEMORY_LIMIT, WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG, SCRIPT_DEBUG, WP_CACHE, CONCATENATE_SCRIPTS, COMPRESS_SCRIPTS, COMPRESS_CSS, WP_LOCAL_DEV.
- Filesystem Permissions: Check against the following directories to see if they are writable. Main WordPress directory, wp-content directory, uploads directory, plugins directory, themes directory, must use plugins directory.
WordPress 5.2’s new Site Health tool provides amazing debugging info for developers to better help users!
WordPress 5.1 was originally scheduled to introduce a new feature called “fatal error protection” which would protect from the WordPress white screen of death while updating PHP. However, due to several critical flaws, this feature was delayed. It has now been included in WordPress 5.2.
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 is a great new feature. All we can say is, we wish this feature had been added years ago!
However, we always still recommend using a staging environment when testing out a new version of PHP.
If your site experiences issues while upgrading PHP versions, it will look like the image below on the front-end, but you will still be able to log into the backend to fix the problem.
On the backend, you will see a message letting you know that your WordPress site is currently in recovery mode and that there may be an error with a theme or plugin.
There were dozens of improvements made to the block editor (Gutenberg) that is shipping with WordPress 5.2. A few that caught our eye:
- In 5.0,
WP_Screen::is_block_editor()was introduced to allow developers to conditionally execute code depending on whether the block editor is being loaded. However, there were some issues with this that have now been fixed in WordPress 5.2.
- Media and text blocks got enhanced.
- Image and block resizers are much better than before.
- There were performance improvements made in terms of loading time.
PHP Coding Standard Updates
With WordPress 5.2, this means developers can take advantage of new coding standards such as namespaces, anonymous functions, short array syntax, short ternary syntax, and assignments with conditionals. If you’re a developer and have already been running on PHP 7 or higher for a while now, this might not impact you, but it’s good to see WordPress making updates.
- New function:
- A new theme template file:
- New body class:
- New menu item class:
The second change is in regards to data exports:
User Data exports no longer use a hardcoded list, but now use the default list of allowed tags in
wp_kses(). New filtering is now available as well.
WordPress 5.2 adds a new
wp_body_open() hook, which lets themes support injecting code right at the beginning of the
<body> element. The WordPress team encourages theme developers to start using this.
In terms of visual updates, WordPress 5.2 has new emojis and dashicons.
In WordPress 5.2 the latest version of Twemoji, 12.0.1, was added. Version 12 includes 230 new emojis, including accessibility emojis and our personal favorite, the Sloth.
Dashicons are used to prettify your WordPress admin dashboard. It was definitely time for an update as they haven’t changed since WordPress 4.5. WordPress 5.2 has 13 new icons, including Instagram, a suite of icons for BuddyPress, and rotated Earth icons for global inclusion. WOFF 2.0 font file format has also been added.
Along with WordPress 5.2 comes a number of changes working together to improve contextual awareness and keyboard navigation flow for those using screen readers and other assistive technologies.
- Post formats are now in list tables.
- New link markup on the WordPress admin bar submenu.
- The currently viewed archive in the archive dropdown widget is now pre-selected.
- A new media view was added to the media library.
- Headings were added to the data tables on the Export Personal Data and Erase Personal Data pages.
- The alt text field is now the first field displayed in the media modal.
Cheap and Reliable WordPress 5.2 Hosting Provider
When it comes to choosing the best WordPress 5.2 Hosting, we’re bound and determined to find out which company is providing the most value. There are some major components that make up a great host in our opinion, and those are Performance, Knowledge, Speed, Reliability of Support, and Pricing and the overall product offering. After reviewing many WordPress 5.2 hosting provider, we highly recommend ASPHostPortal for your WordPress hosting solution. The following are some reasons why ASPHostPortal should be your choice.
Without further ado, ASPHostPortal.com was one of our top performers and is especially impressive considering the $5.00 price point for their startup WordPress 5.2 hosting plan. ASPHostPortal has been offering hosting services for more than 8 years and is a good option if you are looking for shared hosting. They offer great, reliable hosting at an incredibly good price that is hard to beat from a reputable company. Not only that ASPHostPortal also offers very reliable hosting with easy installation of WordPress 5.2, 24/7 support, and a long track record.
All of their servers run the latest versions of WordPress so they will always be able to support your site. All of their servers run the latest versions of WordPress so they will always be able to support your site. You will install the WordPress site for free. ASPHostPortal provides multiple server locations, free CDN and advanced caching options to make both yours and your customers’ experience with WordPress really fast and enjoyable. They also make sure that your WordPress website is safer and better supported than anywhere else.
Everything starts with impeccable support. The unmatched knowledge, experience, and dedication of their team truly make them stand out. They understand that people are the most important piece of the service they provide, and that is why they are at the top of the list. You’ll notice the difference the first time you talk to one of their WordPress experts.
ASPHostPortal offers affordable price for WordPress hosting plan. Customers can start their WordPress site just from $5.00/mo. They are so confident that you will like their service, so they brave to offer a 30-day money back guarantee on hosting fees. Just cancel before 30 days, and they will refund your entire hosting fee. You can get the cheaper price with their hosting promotion and free add-ons too, for more information just visits their official site at http://asphostportal.com.
Their data centers are strategically located around the country to provide their customers with the highest levels of availability, service, and support on the market. Their data centers located on the US (Washington & Seattle), Netherlands (Amsterdam), Singapore, Hong Kong, United Kingdom (London), Australia (Melbourne), France (Paris), Germany (Frankfurt), Italy (Milan), India (Mumbai). Each Data Center is custom designed with raised floors. Each Data Center is equipped with HVAC temperature control systems with separate cooling zones, seismically braced racks, advanced early smoke detection and fire suppression systems. Their Data Centers are supported by some of the most powerful physical security in the business. They have 24/7 video surveillance, security breach alarms and Biometric thumbprint scanners at every entryway.