This section provides information on how to test WordPress core versions.
Pantheon provides one-click updates for WordPress within the Site Dashboard for officially launched WordPress core versions. One-click updates for core versions are only available after the new version has been merged into our upstream. You can test development versions of WordPress by updating through the WordPress Dashboard or via Git.
Development versions and beta releases are not supported and should not be run on live sites. Testing should be done on a Multidev environment or within an isolated local environment on a branch other than master.
terminus connection:set <site>.<env> sftp
Install and activate the WordPress Beta Tester plugin within the WordPress Dashboard or with Terminus:
terminus wp <site>.<env> -- plugin install wordpress-beta-tester --activate --yes
Click Tools, select WordPress Beta Tester, and select the update stream you want to use:
- Point release nightlies: This contains the work that occurs on a branch in preparation for a x.x.x point release. This should be mostly stable but will be available before the branch is ready for beta.
- Bleeding edge nightlies: Choose this option to test beta releases with the bleeding edge development code which may be unstable at times.
Click Save to save your selection.
Navigate to your Dashboard, select Updates, and then click Update Now.
Verify the WordPress version using
terminus wp <site>.<env> -- core versionor check the bottom of any WordPress Dashboard page:
You are using a development version (4.5-beta1-36808). Cool! Please stay updated.
Review configuration changes within the
wp-config-sample.phpfile and add desired changes to
terminus connection:set <site>.<env> git
git checkout -b "wpcore" git remote add WordPress https://github.com/WordPress/WordPress.git git fetch WordPress
Determine which update stream you want to use:
wp-config.phpwith any additions you want to test.
Push the local branch to Pantheon after you've staged and committed the changes if you are working on a Multidev environment:
git commit -am "Update WordPress core to 4.4.2 development version" git push origin wpcore
Optional. Select Multidev, select Git Branches, then select Create Environment next to the
wpcorebranch name to create the Multidev from within the Site Dashboard.
WordPress sometimes includes database schema changes in major releases. You might see a notification in the WordPress dashboard to update the database when you update WordPress to the latest version. Update as instructed or via terminus $site.$env 'wp core update-db'.