Clanbite Since 1.6.0

class Compat_Guard

The 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 Clanbite must 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-ons must 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

Defined in inc/updates/class-compat-guard.php

Changelog

VersionDescription
1.6.0Introduced.