Plugin Directory

Changeset 3036070


Ignore:
Timestamp:
02/15/2024 07:57:56 AM (2 years ago)
Author:
ogrosko
Message:

[RELEASE] 0.2.0

Location:
clear-cache-for-timber/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • clear-cache-for-timber/trunk/clear-cache-for-timber.php

    r1432377 r3036070  
    55Description: Clear cache for Timber and Twig caching
    66Author: Ondrej Grosko
    7 Version: 0.1.0
     7Version: 0.2.0
    88Author URI:
    99Network: True
     
    6363 */
    6464function clear_cache_for_timber_clear_cache() {
    65     if (class_exists('Timber\\Integrations\\Command')) {
     65    if (class_exists('Timber\Cache\Cleaner')) {
     66        return Timber\Cache\Cleaner::clear_cache_twig();
     67    }
     68    else if (class_exists('Timber\\Integrations\\Command')) {
    6669        return \Timber\Integrations\Command::clear_cache();
    6770    }
  • clear-cache-for-timber/trunk/composer.json

    r1432377 r3036070  
    44    "keywords": ["wordpress", "timber", "clear cache"],
    55    "license": "GPL-2.0+",
    6     "version": "0.1.0",
     6    "version": "0.2.0",
    77    "authors": [
    88        {
  • clear-cache-for-timber/trunk/readme.md

    r1432377 r3036070  
    22======================
    33
    4 > Contributors: ogrosko
     4> Contributors: ogrosko, columbian-chris
    55>
    66> Donate link:
     
    1010> Requires at least: 2.0.1
    1111>
    12 > Tested up to: 4.5.2
     12> Tested up to: 6.4.2
    1313>
    14 > Stable tag: 4.5
     14> Stable tag: 6.4
    1515>
    1616> License: GPLv2 or later
     
    3535## Changelog
    3636
     37### 0.2.0 (21-12-2023)
     38
     39Other:
     40
     41  - compatibility with Timber 2.0 (thanks to columbian-chris)
    3742
    3843### 0.1.0 (7-06-2016)
  • clear-cache-for-timber/trunk/readme.txt

    r1432377 r3036070  
    11=== Clear cache for Timber ===
    2 Contributors: ogrosko
     2Contributors: ogrosko, columbian-chris
    33Donate link:
    44Tags: cache, clear, flush, twig, Timber
    55Requires at least: 2.0.1
    6 Tested up to: 4.5.2
    7 Stable tag: 4.5
     6Tested up to: 6.4.2
     7Stable tag: 6.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2626== Changelog ==
    2727
     28= 0.2.0 - 21/12/2023 =
     29* compatibility with Timber 2.0 (thanks to columbian-chris)
     30
    2831= 0.1.0 - 7/06/2016 =
    2932* Added Wordpress cron job for daily cache clearing (use define('CLEAR_CACHE_FOR_TIMBER_DISABLE_CRON_JOB_CLEANUP', true); for disable)
Note: See TracChangeset for help on using the changeset viewer.