Skip to content

HomeBlog

WordPress core now tests the top 100 plugins for fatal errors weekly

After a popular plugin threw fatals on sites updated to WordPress 7.1, core added a workflow that installs the most popular plugins against a given build and fails only on a fatal. Here is what one run does, where it looks away, and how to point the same script at your own plugin list before 7.2.

8 min read
𝕏in

WordPress core has a new GitHub Actions workflow, Plugin Compatibility Tests, that installs each of the 100 most-installed plugins from the directory on a chosen core build and fails only when one of them produces a fatal error. Changeset 65872 added it, and a Make WordPress Core post of 3 December 2026 describes the design. If you maintain client sites or publish a plugin, the useful part is the shell script behind the workflow, which you can run against your own plugin list and a release candidate on any machine with Docker.

The background is a 7.1 incident. After that release went out, a widely installed plugin began fataling on live sites, and nothing in core's test suite was in a position to notice.

Plugin Compatibility Tests runs as signal only

Core's CI covers core: PHPUnit, end-to-end tests, and the install and upgrade paths. The post describes those tests as being about core itself, which is why a plugin fatal went unnoticed. Checking that plugins survive a new version has always been left to beta testers, hosting companies and the plugin authors themselves, and the post says those manual checks are still expected.

The new workflow sits in front of them as a mechanical pass. It is explicitly signal only. A failure sends an error notification and each run writes a results table to the workflow summary, but it is not a required check that can block a commit.

Fatals in debug.log fail the run

At run time the workflow fetches the current most popular plugins, ranked by install count, from the plugin directory. For each plugin, on its own, it then:

  1. installs the plugin together with anything named in its Requires Plugins header;
  2. activates it and verifies that activation actually stuck;
  3. requests the front end and wp-login.php, then reads debug.log for fatal and parse errors;
  4. resets to a fresh install so the next plugin starts from nothing.

If a plugin can't be fetched, or WordPress won't activate it because the PHP, core or dependency minimums aren't met, the run marks it skipped, not failed. Only a fatal fails the run.

The check itself lives in tools/plugin-compatibility/test-plugins.sh, and the workflow only calls it. That is a deliberate choice for reproducibility: a red run in CI can be replayed on a laptop with the same code.

Any manual run can reach 1,000 plugins

TriggerPlugin setStatus
CommitsTop 100Signal only
Weekly scheduleTop 100Signal only
Manual runUp to 1,000Available now
Follow-up PREntire directoryProposed

The post also says the workflow runs automatically on pull requests, without stating which plugin set a PR run uses.

Manual runs take a wp-version of latest, nightly, or any beta or RC string, and a plugin-count up to 1,000. Anyone who can run workflows on wordpress-develop can trigger a run from the Actions tab or the GitHub CLI:

gh workflow run plugin-compatibility.yml --repo WordPress/wordpress-develop \
  -f wp-version=7.2-RC4 -f plugin-count=250

To check named plugins instead of the top N, pass plugin-slugs, for example -f plugin-slugs="woocommerce, classic-editor". The post frames the manual mode as the one to use at each beta and RC, with a bigger plugin set than the per-commit run.

Treat the 250-plugin pass as narrow evidence

The post reports one manual run so far: the 250 most popular plugins against 7.2 RC4, on PHP 8.5 and MySQL 9.7. It finished in about four minutes and all 250 passed.

The post reports about four minutes for that 250-plugin run in CI. It gives no timing for smaller sets or for local Docker runs, so time it on your own machine before building it into a pipeline.

Be precise about what a pass means here. It shows that none of those 250 plugins fatals on a fresh single-site install when the home page and the login page are requested. It says nothing about the editor, about plugins interacting, or about code that only runs once settings exist.

DataForm inspector changes fall outside the listed steps

The post lists its own limits, and they are the ones that matter for client sites:

  • Only plugins hosted in the WordPress.org directory. Premium plugins and anything pulled from a private repository are out.
  • Each plugin runs alone. Two plugins that conflict with each other are never exercised, and I'd count that as the biggest gap for client sites.
  • Plugins are installed, not configured. A code path that waits for an API key or a saved option never executes.
  • Single site only. Multisite is not tested yet.
  • One PHP version (8.5) and one database (MySQL 9.7). A fatal specific to an older PHP or to MariaDB would not show.
  • WP-Cron is disabled, so scheduled callbacks do not run.

One more gap deserves spelling out, and 7.2 is a good example of it. The steps the post lists are a request to the front end, a request to the login screen and a read of debug.log. From those steps, the run never opens the block editor, so JavaScript breakage there would not show.

In 7.2 the editor inspector is rebuilt on DataForm in both the post editor and the site editor, with each setting exposed as a field that Quick Edit shares. The DataForm inspector dev note says the wp.editPost.__experimentalPluginPostExcerpt slot, deprecated since 6.6, is no longer rendered, and that customizations aimed at the old panels' CSS class names or markup stop applying. On my reading of the listed steps, a plugin hit by either change would pass this workflow with a clean result table.

The same note lists what keeps working: PluginDocumentSettingPanel and PluginPostStatusInfo fills, removeEditorPanel and the panel switches in Preferences, and the editor.PostFeaturedImage and editor.MediaUpload filters on the featured image field in the post editor (not in Quick Edit). The note tells plugins that relied on the removed slot to move their UI to a PluginDocumentSettingPanel or a custom field. Separately, it says extenders can add their own fields through the Fields API. The earlier piece on the 7.2 RC4 build to test covers the other APIs that moved in this release.

Run test-plugins.sh before you build staging

The script runs locally with nothing installed beyond Docker:

tools/plugin-compatibility/test-plugins.sh --wp-version=7.2-RC4 my-plugin-slug

--help prints the remaining options, including --no-docker for an existing PHP, WP-CLI and database setup.

The post names two audiences: plugin authors checking their own plugin before a core release, and hosts pointing the script at what their customers run. An agency with a standard stack is the same case as a host. Export the slugs from a representative site, feed them to the script at each beta and RC, and you have the fatal check core runs, on your list, on your schedule.

What it will not replace is a staging copy of the real site, with real options, real content and the plugins active together. I'd treat the script as the cheap first gate. If a slug fatals in isolation on a fresh install, there is no point building a staging environment for that update until the author ships a fix. If everything passes, the staging run is still owed, and for 7.2 that run should include opening the post editor and clicking through every sidebar panel your plugins add.

This work lands alongside a separate effort that cut WordPress core PHPUnit runs on trunk from about 32 minutes to about 21. The plugin job is a separate workflow from the PHPUnit suite, and its four-minute figure is for 250 plugins, not a unit test pass.

Skipped results mean an unmet PHP or WordPress minimum

Clone wordpress-develop, run test-plugins.sh with --wp-version=7.2-RC4 and the slugs from your standard stack, and read the three states in the results: pass, fail and skipped. A skip means a requirement was not met on the test box, not that the plugin is fine; check the plugin's PHP and WordPress minimums against your own hosts.

Then update a staging copy of any site that depends on editor customizations, because the workflow does not look there. Plugins that touch the inspector need a look at the DataForm changes above.

Feedback on the workflow goes to Trac ticket 65920. The post asks plugin authors and hosts in particular what would make it more useful, so if your stack has a plugin that only breaks under multisite or on a specific PHP version, that is the place to say so.


Hatamoto is an open-source CMS written in Go: one binary and Postgres serve the site, the admin and the API, and plugins run in a WebAssembly sandbox. If you build sites on WordPress, see how it compares or give Hatamoto a try.

Discussion

Leave a comment

(never shown)
Comments with links are reviewed before they appear.

0 comments

    Run it on your own server.

    Open source, one Go binary and Postgres. AI analytics start counting from the first request.

    curl -fsSL https://hatamoto.dev/install.sh | sudo sh