Clanbite Since 1.6.0

class Updater

An add-on takes part by carrying an Update URI header on the update server's host, for example Update URI: https://services.clanbite.com/clanbite-points. WordPress then skips wordpress.org for it (so nobody can hijack the slug there) and asks the update_plugins_{host} filter instead.

  • **Check**: one batched request for every add-on on the site, answered from the same data for each plugin in the run.
  • **Offer**: an update whose licence allows it carries a placeholder package address; one that needs a renewal or a licence carries none, and a note under the plugin explains why.
  • **Install**: when the administrator clicks Update (or an auto-update runs), upgrader_pre_download asks the server for a single-use download, fetches it from the server's own host, verifies its SHA-256 and hands the file to WordPress.

class final

Full name
Kernowdev\Clanbite\Updates\Updater

Methods

Defined in inc/updates/class-updater.php

Changelog

VersionDescription
1.6.0Introduced.