Clanbite Since 1.6.0
class Compat_GuardThe update server only offers compatible releases, but a server can be wrong, stale or compromised, so core checks again with the package it actually downloaded: it reads the headers of the **unpacked** main plugin file (which are covered by the release signature) and compares them with what is running on this site.
Requires Clanbitemust be declared and must accept the running Clanbite (Clanbite is backward compatible within a major version).- PHP and WordPress minimums must be met.
- Add-ons named in
Requires Clanbite Add-onsmust be installed in accepted versions. - Every other installed add-on must still accept the new version of this one (reverse check).
A failure aborts the installation before any file of the existing plugin is replaced.
class final
- Full name
Kernowdev\Clanbite\Updates\Compat_Guard
Methods
check_unpacked()Check an unpacked package.installed_addons()Versions of the participating add-ons installed on this site.
Defined in inc/updates/class-compat-guard.php
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |