skip to Main Content
WordPress V5.x Is Out. Here Are Some Pro Testing Tips

WordPress v5.x is Out. Here Are Some Pro Testing Tips

As promised earlier last week, WordPress v5.0 (Now with Gutenberg!) was released a week ago to much fanfare and a bit of controversy. Many were unsure as to how the new upgrade would affect them as it is the most major revision in several years. Already, a security release (v5.0.1) was pushed out yesterday. All indications are that we will see several small updates over the next few weeks.

In this post, we’re going to give you some tips on the best way to incorporate WordPress v5.x into your WordPress and DesktopServer development workflow. Before we do, however, there are a few things to note:

  1. Many hosts are not automatically updating to v5.x until after the beginning of the year. This means you have time to test its functionality before you put it in a production environment. Check with your host and read up on their upgrade policies so you’re not taken by surprise.
  2. You always have the option to use the Classic Editor Plugin which will utilize all of the latest changes with v5.x while still keeping the Classic Editor look and feel you’re used to.
  3. Most themes and plugins were not affected by the upgrade, and the ones that were affected have developers working tirelessly to resolve any issues. We recommend that you stay on top of any malfunctions by checking to see if there are updates available for anything affected.

Adding WordPress v5 w/Gutenberg as a Blueprint (Limited & Premium)

As we’ve stated in previous emails, the best way to find out how your particular product is going to work with WordPress v5.x is to test using DesktopServer. We’ve created a few tools for you to try WordPress v5.x with and without Gutenberg. The first and most common way to do it is to download WordPress v5 from the repository and install it. DesktopServer has the ability to take the standard WordPress archive and use it as a blueprint. This method works on both DesktopServer Premium as well as Limited Editions. To use this method, follow these instructions:

  • Stop DesktopServer Web and Database Services (if DesktopServer is currently running)
  • Get the latest version of WordPress here.
  • Copy the downloaded WordPress .zip file to your Blueprints Directory
    • If on Mac, you’ll find this at /Applications/Xampp/Blueprints
    • If on Windows, you’ll find this at c:\xampplite\blueprints
Image
  • Restart DesktopServer or, if DesktopServer is already running, start Web and Database Services
  • From the Main Menu, select “Create a new development website” –> Next
Image
  • Select WordPress-5.0.zip (or the name of the WordPress file you downloaded) in the “Blueprint” Field –> Click “Create”
Image

Using the Latest WordPress Blueprint (Premium Only)
One of the really cool features of DesktopServer Premium Version is that it has DS-CLI built into it. DS-CLI adds command line capabilities to your local development workflow. Whether or not you’re interested in learning how to use CLI, you can take advantage of its powerful features as DesktopServer uses it “under the hood” to do some pretty amazing things. One thing it can do is download the latest version of WordPress automatically when you use the “Latest Version” Dynamic Blueprint which can be downloaded here.
To use the “WordPress Latest Blueprint,” follow these instructions:
  • If DesktopServer is running, stop all Web and Database Services from the Main Menu
  • Download the WordPress Latest Blueprint source.zip
  • Place the .zip file in your Blueprints directory
    • If on Mac, you’ll find this at /Applications/Xampp/Blueprints
    • If on Windows, you’ll find this at c:\xampplite\blueprints
Image
  • Start your web and database services (if DesktopServer is running)
  • Select, “Create a new development website.” –> Next
  • Select WordPress-Latest-Blueprint-1.0.1.zip in the “Blueprint” Field –> Click “Create”
  • DesktopServer will now fetch the latest version of WordPress and create your local site.
  • To log into the dashboard of your newly created site, you can either use the Bypass Login Design-Time Plugin or ” testadmin ” as your username and “password” as your password. Of course, you’ll want to add a more secure administrative account and disable this one in the event you intend to turn this into a production site.

Want to Try WordPress v5 but Not Ready for Gutenberg? There’s a Classic Editor Blueprint for That (Premium Only)

We get it. The Core Developers of WordPress also get it. You might not be quite ready to move to Gutenberg, but you might want to test WordPress v5. To that end, we’ve created a dynamic blueprint which utilizes the Classic Editor plugin which disables Gutenberg and provides the familiarity of the editor provided in previous versions of WordPress.

To use the Classic Editor Blueprint, follow these instructions:

  • If DesktopServer is running, stop all web and database services
  • Download the Classic Editor Blueprint Here
  • Rename “classic-editor-blueprint-master.zip” to “classic-editor-blueprint.zip”
  • Copy the classic-editor-blueprint.zip file to your blueprints directory
    • If on Mac, you’ll find this at /Applications/Xampp/Blueprints
    • If on Windows, you’ll find this at c:\xampplite\blueprints
  • Start DesktopServer web and database services
  • Select “Create a new development website.” –> Next
  • Give your new website a name
  • From the Blueprint Dropdown select, “classic-editor-blueprint.zip” –> Create
Image
  • DesktopServer will now fetch the latest version of WordPress, the Classic Editor Plugin, and enable it.
  • To log into the dashboard of your newly created site, you can either use the Bypass Login Design-Time Plugin or “testadmin” as your username and “password” as your password. Of course, you’ll want to add a more secure administrative account and disable this one in the event you intend to turn this into a production site.

A note about Dynamic Blueprints: Because DesktopServer is fetching all of the latest code from the WordPress Repository, it might take a few minutes for your local site to display properly. If the site does not appear correctly, give it a minute or so and then do a refresh.

There you have it. Three ways to test WordPress v5.x to give you the peace of mind you need to go live! Give it a shot and let us know what you think. We’d love to hear from you!