Plugin Directory

Changeset 3390875


Ignore:
Timestamp:
11/06/2025 07:17:05 AM (5 months ago)
Author:
leopardhost
Message:

v2.0.1: Fix auto-purge

Location:
tnc-toolbox
Files:
17 added
3 edited

Legend:

Unmodified
Added
Removed
  • tnc-toolbox/trunk/core/core.php

    r3390845 r3390875  
    253253        if ('publish' === $post_after->post_status ||
    254254            ($post_before->post_status === 'publish' && $post_after->post_status !== 'trash')) {
    255             $this->nginx_cache_purge();
     255            // Use the UAPI directly rather than function, to support automated
     256            TNC_cPanel_UAPI::make_api_request('NginxCaching/clear_cache');
    256257        }
    257258    }
  • tnc-toolbox/trunk/readme.txt

    r3390845 r3390875  
    88Tested up to: 6.8
    99Requires PHP: 8.0
    10 Stable tag: 2.0.0
     10Stable tag: 2.0.1
    1111License: GPLv3
    1212License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9595== Changelog ==
    9696
     97= 2.0.1: Nov 6, 2025 =
     98* Fix: Auto-purge now calls directly (re: nonce failure) (#31)
     99
    97100= 2.0.0: Nov 6, 2025 =
    98101* NOTE: MAJOR REBUILD, PLEASE TEST BEFORE DEPLOYING
  • tnc-toolbox/trunk/tnc-toolbox.php

    r3390845 r3390875  
    66 * @author            The Network Crew Pty Ltd (TNC & Co.)
    77 * @license           gplv3
    8  * @version           2.0.0
     8 * @version           2.0.1
    99 *
    1010 * @wordpress-plugin
     
    1212 * Plugin URI:        https://merlot.digital
    1313 * Description:       Adds functionality to WP - designed for NGINX-powered Servers on cPanel+WHM. Made to help you fly online!
    14  * Version:           2.0.0
     14 * Version:           2.0.1
    1515 * Requires at least: 6.0
    1616 * Requires PHP:      8.0
     
    3232
    3333// Plugin version
    34 define('TNCTOOLBOX_VERSION', '2.0.0');
     34define('TNCTOOLBOX_VERSION', '2.0.1');
    3535
    3636// Plugin Root File
Note: See TracChangeset for help on using the changeset viewer.