Hotfixes on the 2.2 line. The failures were invisible to a syntax check, and to a build that only read the files.
Fixed
- Bulk role change returned a 500 on every install. It called a function WordPress only loads in wp-admin, from a REST request. The toolbar then swallowed the error, so it looked like a dead button. Failures now show the real message.
- Every admin page fataled on a stale import, caught in production rather than by the build.
- Deactivating left scheduled tasks behind. WordPress then logged a missing schedule on every cron run, on a site no longer running the plugin.
- The sign-in failure page printed an unescaped URL. That page is reachable without logging in.
- Schema updates waited for somebody to open wp-admin. Sign-in, session policy and alerts write those tables from the front of the site. The update now runs on every request, ahead of the code that reads them.
Requires WordPress 6.0+ and PHP 7.4+.