v1.4.0
This commit is contained in:
parent
916d7845be
commit
cc1bca74fa
1 changed files with 770 additions and 204 deletions
|
|
@ -2,8 +2,18 @@
|
|||
/**
|
||||
* Generic JSON-based updater for ROBOTSTXT plugins.
|
||||
*
|
||||
* This file is designed to be copied to any ROBOTSTXT plugin.
|
||||
* It auto-configures itself by reading the plugin headers.
|
||||
* EXTERNAL DEPENDENCY — vendored, not part of the iDrivee2Media namespace.
|
||||
*
|
||||
* This file is a shared library copied verbatim across ROBOTSTXT plugins.
|
||||
* It provides automatic update checks against a Gitea instance
|
||||
* (git.robotstxt.es) by reading plugin headers and constructing the
|
||||
* update-check URL. Cached responses are HMAC-signed with AUTH_SALT.
|
||||
*
|
||||
* Justification for inclusion (per AGENTS-compatibility-architecture.md):
|
||||
* - Enables automatic updates from the private Gitea registry without
|
||||
* manual ZIP uploads.
|
||||
* - Self-contained: no Composer/npm dependency, reads headers only.
|
||||
* - Uses the WP HTTP API (wp_remote_get) and transients for caching.
|
||||
*
|
||||
* @package ROBOTSTXT
|
||||
* @version 1.0.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue