Test WordPress 7.2 on a staging copy before Dec. 8
WordPress 7.2 ships on December 8, and on sites with automatic major-version updates turned on it will install itself, without anyone clicking a button. If a plugin or your theme can’t handle the new release, you want to find that out now on a copy of the site, not after launch with visitors watching. The release candidate, the last test version before launch, has been available since November 17, so there’s time to test WordPress 7.2 before it lands.
If you don’t touch code, you can skip the developer section. Everything else, launch day included, applies to you too.
Will your site switch to WordPress 7.2 on its own?
WordPress has two kinds of updates. Maintenance and security releases (say, 7.1.4 to 7.1.5) install themselves by default. Major versions, like the jump from 7.1 to 7.2, depend on a setting. On a single site, it’s on if WordPress was installed from scratch on version 5.6 or later, according to the install code, and off if the site predates 5.6 and was updated since, as the upgrade code sets it. Your host or whoever runs the site may have changed it, so check:
- Log in to the dashboard with an administrator account.
- Open the WordPress Updates screen. Its address is your site’s address followed by
/wp-admin/update-core.php(for example,https://www.example.com/wp-admin/update-core.php). - Read the line about automatic updates. It will say either “This site is automatically kept up to date with each new version of WordPress,” or “…with maintenance and security releases of WordPress only,” or “This site will not receive automatic updates for new versions of WordPress.” In that last case even security fixes don’t arrive on their own, which is worth raising with whoever manages the site.
- If there’s a link under that line, it switches to the other mode. If there isn’t, the setting is locked by
wp-config.php, by a plugin, or by your host. Ask your host or whoever manages the site.
If the site updates itself to every new version and runs something that matters, like a store or a sign-up form, switch to maintenance and security releases only for a few weeks and install 7.2 by hand once you’ve tested it. Security fixes for 7.1 normally keep coming: according to the WordPress security page, only the latest version is officially supported, but the Security Team backports fixes to older versions as a courtesy, through automatic updates. You want those fixes, and AI-discovered vulnerabilities show why.
No code needed: ask your host for a staging copy
The easiest route is to have your host set up a test copy of the site, usually called a staging site: a private duplicate that visitors can’t see, where you can update, and even break things, without consequences. The WordPress test team’s guide to testing 7.2 recommends exactly that, and if you’ve never done it, suggests asking your hosting provider. What to ask for:
- a test copy of the site that visitors can’t see;
- the option to install the WordPress 7.2 release candidate on that copy (the methods are in the developer section, which you can forward to whoever manages the site);
- a guarantee that the copy won’t email customers or take real payments, and that its backups and other connected services won’t write where the live site writes.
Heads up on that last one: the copy holds the real site’s customers, orders, and settings, and the official guide to copying a site says to disable email, payments, and other live services before testing them.
If you just want to see what’s new without touching your own site, there’s WordPress Playground. It opens 7.2 in your browser with nothing to install, from the link in the release candidate announcement. It’s a demo site without your content, though. To know whether your site holds up, you need the copy.
What to check when you test WordPress 7.2
Before putting 7.2 on the copy, take a quick look at it as it is: home page, a few links, images, logging in. If something’s already off there, the problem is the copy, not the new version. Once the copy is on 7.2, use it the way you use the site every day. This list is a shortened version of the one in the test team’s guide:
- On the Plugins screen, see whether any plugin deactivated itself after the update.
- Open Site Health (
/wp-admin/site-health.php) and look for new warnings. - Browse the home page, your most visited pages, and a few posts, watching layout and images.
- Click some internal links and make sure none of them lands on a “not found” page.
- Fill in and submit the forms the site uses (contact, sign-up, login, checkout) and check that the data ends up where it should.
- Write a test post: paste some text, add an image, save.
- Check anything that runs on a schedule, such as scheduled posts and backups.
- If the site uses outside services like payments or analytics, see whether they still connect (in test mode).
If something goes wrong, write down what you did and what happened, and send it to the plugin or theme author before launch, while there’s still time for a fix. Problems with WordPress itself go to the WordPress.org Alpha/Beta forum.
For developers: copy with Reprint, then the release candidate
On November 13, WordPress.org introduced Reprint, a free, open-source tool that copies a site’s files and database to another computer or server. It comes in two parts: a plugin on the source site and a command-line client on the machine receiving the copy. According to the requirements, that machine needs command-line PHP 7.4 or newer (with pdo_sqlite for an SQLite copy) and a terminal on macOS or Linux; on Windows, the guide points to WSL (Windows Subsystem for Linux). The source site needs a working HTTPS address, and a Cloudflare browser challenge or a Wordfence rate limit can stop the copy.
It’s a young tool, with the plugin at version 0.11.8: the announcement itself suggests trying it on a test site first and only then moving to your real one. If you’d rather not run something this new against your live site, your host’s staging copy is still the safer bet today.
Here’s the short version of the “Clone your site” guide. On the source site, install and activate the Reprint plugin, then open Tools → Reprint Server. On the receiving machine, download the client and generate a key. In the commands, replace https://www.example.com with your site’s HTTPS address:
mkdir reprint-demo
cd reprint-demo
curl -fL https://plugins.svn.wordpress.org/reprint/downloads/reprint.phar -o reprint.phar
php reprint.phar --version
php reprint.phar keygen https://www.example.com --state-dir=./state --out=./reprint-key.pem
The last command prints a Migration Token. Paste it into the plugin screen and confirm with Authorize client. If the plugin shows a Connection token form instead, the guide covers that variant. Only after authorizing do you start the copy. With SQLite there’s no database server to install, and the copy opens at http://localhost:8881 when it’s done:
php reprint.phar pull https://www.example.com \
--private-key-path=./reprint-key.pem \
--state-dir=./state --fs-root=./files \
--target-engine=sqlite --new-site-url=http://localhost:8881
If the transfer is interrupted, run the same command again and it picks up where it left off. Once the copy is complete, though, don’t rerun it to reopen the site: the guide warns it can replace the copy’s database with the source’s data, wiping out your 7.2 update. To restart the copy, run bash state/runtime/start.sh.
Heads up. The reprint-key.pem key and the state/ and files/ folders hold the credentials to read the source site and a full copy of its data, user password hashes included. Keep them private. When you’re done testing, remove the Migration Token under Tools → Reprint Server, then deactivate and delete the plugin. Deactivating alone keeps its settings and credentials, as the plugin FAQ explains.
The guide also warns that a completed transfer doesn’t mean every plugin works on the destination, and that some plugins need MySQL rather than SQLite. If a plugin misbehaves on the copy, redo the copy with MySQL (the guide has the command) before blaming 7.2.
Installing the release candidate on the copy
The copy can come from Reprint, from your host, or from a local environment such as Local or wp-env, both mentioned by the test team. Only on the copy, never on the live site: the announcement asks you not to install the release candidate on production sites. Of the methods it lists, the two handiest for a copy are:
- the WordPress Beta Tester plugin, which works on any copy: under Tools → Beta Testing, pick Bleeding edge, then Beta/RC Only, save, and update from the Updates screen;
- WP-CLI, on a host’s staging copy or in a local environment, from the WordPress folder:
wp core update --version=7.2-RC1
The official schedule has RC2 on November 24 and RC3 on December 1. It’s worth updating the copy to those too.
According to the announcement, 7.2 updates several bundled libraries and adds a new default theme (Ipsum), SVG icons in the admin, and PHP 8.6 compatibility improvements. The libraries are the first place to look: PHPMailer if a plugin sends email, Requests if it fetches data from other sites, getID3 if it reads media file metadata (sodium_compat, for cryptography, is on the list too). If you maintain a plugin, update “Tested up to” in your readme.txt once testing is done, as the announcement asks.
December 8: update, and roll back if needed
If you leave automatic updates on, take a full backup of files and database by December 7, even though the date can still slip at the last minute: the official guide to updating WordPress lists it as step one. If you switched them off, here’s the order:
- Take a full backup, with your host’s tool or the one you already use.
- Update from the Updates screen (
/wp-admin/update-core.php). - Repeat the key checks from the list: home page, forms, and whether the checkout page opens.
- Switch automatic updates back to how they were.
And if something breaks:
- The site no longer works: the official guide says to restore your backup.
- The site is stuck on the maintenance message: first make sure the update has finished, then look for a
.maintenancefile in the root folder and delete it with your host’s file manager, as the same guide explains. - You see a critical error: if a plugin or the theme caused it, WordPress emails the site’s admin address a link to recovery mode, a version of the dashboard with the broken plugin or theme paused. The email only goes out if the error also shows up in the dashboard or on the login page, and at most once a day (see the recovery mode code). Here’s how to choose who receives the WordPress technical issue email.
Sources: WordPress 7.2 Release Candidate 1 announcement (WordPress.org); WordPress 7.2 release schedule (Make WordPress Core); Help Test WordPress 7.2 (Make WordPress Test); default options on install, schema.php (WordPress source code); setting for sites upgraded from before 5.6, upgrade.php (WordPress source code); WordPress security (WordPress.org); Reprint announcement (WordPress.org); Reprint “Clone your site” guide; Reprint requirements; Reprint plugin and FAQ; WordPress Beta Tester plugin; Updating WordPress (WordPress.org documentation); recovery mode, class-wp-recovery-mode.php (WordPress source code).
Featured photo: “Macro laptop coding” by Marc Mueller, via Wikimedia Commons (originally on Unsplash), CC0.