Plugin Directory

Changeset 3746414


Ignore:
Timestamp:
10/14/2026 01:02:56 PM (5 weeks ago)
Author:
zinndigital
Message:

Release 1.10.6

Location:
zinn-cache/trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • zinn-cache/trunk/languages/zinn-cache.pot

    r3745230 r3746414  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Zinn® Cache 1.10.5\n"
     5"Project-Id-Version: Zinn® Cache 1.10.6\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/zinn-cache\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    … …  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2026-10-14T01:32:22+00:00\n"
     12"POT-Creation-Date: 2026-10-14T08:30:58+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
  • zinn-cache/trunk/readme.txt

    r3745230 r3746414  
    88Tested up to: 7.1
    99Requires PHP: 8.2
    10 Stable tag: 1.10.5
     10Stable tag: 1.10.6
    1111License: GPLv2 or later
    1212License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    175175== Changelog ==
    176176
     177= 1.10.6 =
     178* Faster and lighter on servers: WP-CLI commands, scheduled tasks and AI agents (MCP) on your site now start with less memory, so they keep working beside large plugins such as WooCommerce.
     179
    177180= 1.10.5 =
    178181* Translation template refreshed so every language stays complete.
  • zinn-cache/trunk/zinn-cache.php

    r3745230 r3746414  
    44 * Plugin URI:        https://zinndigital.com/wordpress-plugins/zinn-cache
    55 * Description:       A page cache and a Redis object cache for any WordPress site. Uses the LiteSpeed server cache where there is one and its own disk cache everywhere else, purges only what a change affects, and proves its Redis connection works.
    6  * Version:           1.10.5
     6 * Version:           1.10.6
    77 * Requires at least: 6.6
    88 * Requires PHP:      8.2
    … …  
    3434defined( 'ABSPATH' ) || exit;
    3535
    36 const VERSION = '1.10.5';
     36const VERSION = '1.10.6';
    3737
    3838define( 'ZINN_CACHE_VERSION', VERSION );
    … …  
    4949
    5050Autoloader::register( __DIR__ . '/includes' );
    51 
    52 // ⛔ `require_once` rather than the autoloader: the shared settings framework is deliberately
    53 // GLOBAL — shipped identically into seven plugins with different namespacing conventions —
    54 // and this plugin bootstraps inside `Zinn\Cache`, where an autoloader keyed on the namespace
    55 // would never look for `Zinn_Cache_Admin_UI`. Loaded unconditionally, because `::get()` is
    56 // read on front-end requests as well as in wp-admin (§2.38).
    57 require_once __DIR__ . '/includes/class-zinn-cache-admin-fields.php';
    58 require_once __DIR__ . '/includes/class-zinn-cache-admin-ui.php';
    59 require_once __DIR__ . '/includes/class-zinn-cache-connection.php';
    60 require_once __DIR__ . '/includes/class-zinn-cache-diagnostics.php';
    61 require_once __DIR__ . '/includes/class-zinn-cache-style-presets.php';
     51require_once __DIR__ . '/includes/class-cli-start.php';
    6252
    6353register_activation_hook( __FILE__, array( Plugin::class, 'activate' ) );
    6454register_deactivation_hook( __FILE__, array( Plugin::class, 'deactivate' ) );
    6555
    66 add_action( 'plugins_loaded', array( Plugin::class, 'boot' ) );
    67 
    68 // ── The Zinn® panel ──────────────────────────────────────────────────────────────────────
     56// The start — the settings framework, the Zinn® panel and every hook of the plugin — is in
     57// includes/start.php. Cli_Start runs it at once, or in a WP-CLI command right after WordPress has
     58// loaded: WP-CLI loads WordPress under PHP's own 128 MB limit and lifts it only afterwards (stage
     59// PERF3's pattern, applied here by CONSENT1, Q226). `define( 'ZINN_CLI_START_AT_ONCE', true );`
     60// starts it at once under WP-CLI too.
    6961//
    70 // ⚖️ Owner, 2026-09-01: *"each plugin should promote our hosting and marketplace as well as
    71 // Zinn Hub global marketplace inside people's site in the admin dashboard"*, and *"user
    72 // guides for them … linked to in the plugins dashboard"*.
    73 //
    74 // ⛔ `require_once` rather than the autoloader, and a STRING callable rather than
    75 // `array( Zinn_Cache_Promo::class, … )`. The class is deliberately global — it is shipped
    76 // identically into seven plugins with different namespacing conventions, and three of them
    77 // bootstrap inside a namespace where `Zinn_Cache_Promo::class` would resolve to a class that does
    78 // not exist. A string callable is resolved in the global namespace at call time, which is
    79 // correct from every one of the seven. `php -l` cannot see that mistake; only running it can.
    80 require_once __DIR__ . '/includes/class-zinn-cache-promo.php';
    81 add_action( 'plugins_loaded', array( 'Zinn_Cache_Promo', 'register' ) );
    82 
    83 // HOSTDISC (docs/894): the hosting-customer Pro discount card, on this plugin's own screen, only
    84 // on a site Zinn hosts, and never once Zinn® Cache Pro is active. The class is generated
    85 // (`wp/bin/build-promo.php`) and global, so it is required and named by STRING, like the promo.
    86 require_once __DIR__ . '/includes/class-zinn-cache-pro-discount.php';
    87 add_action(
    88         'plugins_loaded',
     62// ⭐ Anything that must run WHILE WordPress loads even when the start is deferred goes above
     63// this line; the rest is in start.php.
     64\Zinn\Cache\Cli_Start::start(
    8965        static function (): void {
    90                 \Zinn_Cache_Pro_Discount::register( 'zinn-admin-ui-zinn-cache', 'Zinn\\Cache\\Upsell::pro_active' );
     66                require_once __DIR__ . '/includes/start.php';
    9167        }
    9268);
Note: See TracChangeset for help on using the changeset viewer.