We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.
Black Friday starts now. Get 75% off Nexcess premium managed hosting
Shop plans
Contact Us
Contact Us
Sign in
Sign in
Nexcess Logo

WordPress testing site: beta testing WordPress on staging or dev

October 11, 2022


It is always worth testing WordPress core updates on your staging or development site to check that the site is working correctly with the plugin stack being used along with the active theme. Well-maintained plugins and themes will be kept updated to support upcoming WordPress core releases. Therefore, it is recommended to keep testing WordPress core beta versions on a staging site rather than running beta versions on your production site.



WordPress beta testing
is normally advised to be running on staging or a development site. If you are hosting your sites on Nexcess, then you can easily create a staging site which will be an exact copy of the live production site.

What is staging environment?


A staging environment is for testing your website's code, infrastructure, and features to ensure quality under production-like conditions before deployment. A staging environment is a copy of the production environment to allow for testing planned changes for your website.


What are different types of testing categories for a website?


They multiple categories of testing for your website, including:

- Functional Testing
- Usability Testing
- Interface Testing
- Compatibility Testing
- Performance Testing
- Security Testing



All-in-one WordPress solutions



About the WordPress Beta Tester Plugin and how to use it


Once you have created your staging site, you install the WordPress Beta Testing plugin and then set which version of WordPress beta you want to complete testing with. After you have installed and activated the WordPress Beta Testing plugin from wp-admin, go to:

Tools > Beta Testing


More about the Tools > Beta Testing options


If you select to use the Bleeding Edge option, you can update the most current nightly version of WordPress core development:

If you select to use the bleeding edge then you can update the most current nightly version of WordPress core development.


If you only want to test beta and release candidate versions of the next WordPress core release, then select Beta/RC Only:

If you want to only be testing beta and release candidate versions of the next WordPress core release then select Beta/RC Only.



To update WordPress core in wp-admin, go to:

Dashboard > Updates


Dashboard > Updates



Click on the update to the latest 6.1 nightly version button (or other nightly version). Your staging site has now been updated to the currently nightly version of WordPress core. If the update is causing issues on the staging site, then you can deactivate plugins or roll back WordPress core to the previous version. WordPress core major releases typically includes multiple betas and release candidate versions to ensure that all common bugs are found before the final production version is released.

It is important to test upcoming releases of WordPress core on your staging site to be prepared so that the active themes and plugins being used on the site do not break or cause features or functions to no longer work. It also makes it possible to test plugin updates with the newer upcoming WordPress core releases. Being surprised that there is a new WordPress core release and that active plugins have updates to work correctly with that WordPress core release version will be avoided by using a staging site for that process.

If the active plugins on a staging site break in the WordPress core version even when the version is being tested, then you will have some time to be able to change plugins on the site. For example, you will want to make plugin changes if the final release candidate breaks plugins before the final version is released. The beta testing on staging will have helped you identify issues.

Always try to use well-reviewed plugins and ones that are regularly updated. If you are using actively developed plugins, then they should be tested by their developers with future WordPress core releases so any bugs and conflicts will be ironed out well before the final release of WordPress core is shipped. Then, you can safely update plugins and WordPress core on the production site knowing that the site will look and function correctly.

Updating WordPress Core to a beta using WP-CLI


To be able to run any WP-CLI commands, you will need to use your SSH credentials for your staging site and to be in the public_html folder on your site's server since WP-CLI can only be run from a proper WordPress installation. WP-CLI is ideally run using Terminal on a MacOS device or Putty on a Windows device.

Change the directory


First, you will need to change the directory to the WordPress installation:

cd public_html


Current nightly beta version


If you are familiar with WP-CLI then you can run a WP-CLI command to update the WordPress core to a current nightly beta using the following command:

wp core update --version=trunk


Force the update back to the current version of WordPress Core


In the next step, you need to update the staging site to the current trunk build or WordPress core then you can rerun the WP-CLI command. If the WordPress core nightly update is causing issues on the staging site, then you can force the update back to the current version of WordPress core using this WP-CLI command:

wp core update --version=6.0 --force


Specific version

When beta and release candidate releases are available, you can use WP-CLI to update the staging site to that specific version:

wp core update --version=6.1-beta1


Conclusion


Consider hosting your site on Managed WordPress from Nexcess, which comes with an integrated CDN. A Sales Performance Monitor is included if your site is running WooCommerce, and the Plugin Performance Monitor, which will give you actionable feedback regarding which plugins or changes made on your site are causing performance issues.


If your site is running WooCommerce then you can enable the WooCommerce Automated testing feature to make sure that your store is running as expected. Managed WordPress and Managed WooCommerce plans at Nexcess come with a free staging site per site on your plan which can be deleted and created as needed.

Helpful links for beta testing WordPress


Here are some helpful links to further assist you excel with your WordPress beta testing efforts:

Consider Managed Hosting with Nexcess


Managed WordPress Hosting with Nexcess makes setting up your website on our platform easy. And with 24/7 support, you can rest assured knowing you’ll have the Nexcess team to help you with any step of the process.


Managed hosting is a service where the hosting provider carries out all of the administration, setup, and maintenance and offers an excellent customer support service. If anything goes wrong with your WordPress managed hosting, the service provider will fix all the problems as quickly as possible, so your WordPress site is kept up and running correctly.

Nexcess offers a wide variety of managed hosting packages and a constantly growing superb Nexcess Knowledge Base. Consider managed hosting with Nexcess!

Fully Managed Hosting Plans with Nexcess


Nexcess Managed Hosting
offers you faster speeds, more robust security, inherent scalability, and trusted support. Once your website is ready to go live, consider our stellar hosting plans:

Plugin Performance Monitor — Test your WordPress plugins automatically


Don’t let changes to your website slow you down. The Nexcess Plugin Performance Monitor watches your site hourly, so you don’t just see the problem - you know how to fix it.


Sales Performance Monitor — Built-in ecommerce monitoring for your online store


Personalized revenue insights, delivered right to your inbox. The Nexcess Sales Performance Monitor delivers weekly revenue trends to help you stay profitable.


Why choose Nexcess?


Because we are different! Chris Lema captures "the why" in his passionate and stirring recount of a Nexcess support-related story.


Why your hosting provider matters


We’ve optimized hosting for the industry’s leading commerce and content platforms. That means speed, security, scalability and support are built in. Backed by free migrations and 30-day money-back guarantee, let us show you why we’re the best.

No one optimizes hosting for open-source applications better than Nexcess!



Recent articles

Related articles

Luke Cavanagh
Luke Cavanagh


Product Operations Manager at Nexcess. A devoted husband and tween wrangler. Synthwave enthusiast. Jerry Goldsmith fan. Doctor Who fan and related gubbins.