Changeset 3036070
- Timestamp:
- 02/15/2024 07:57:56 AM (2 years ago)
- Location:
- clear-cache-for-timber/trunk
- Files:
-
- 1 added
- 4 edited
-
clear-cache-for-timber.php (modified) (2 diffs)
-
composer.json (modified) (1 diff)
-
readme.md (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
style.css (added)
Legend:
- Unmodified
- Added
- Removed
-
clear-cache-for-timber/trunk/clear-cache-for-timber.php
r1432377 r3036070 5 5 Description: Clear cache for Timber and Twig caching 6 6 Author: Ondrej Grosko 7 Version: 0. 1.07 Version: 0.2.0 8 8 Author URI: 9 9 Network: True … … 63 63 */ 64 64 function 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')) { 66 69 return \Timber\Integrations\Command::clear_cache(); 67 70 } -
clear-cache-for-timber/trunk/composer.json
r1432377 r3036070 4 4 "keywords": ["wordpress", "timber", "clear cache"], 5 5 "license": "GPL-2.0+", 6 "version": "0. 1.0",6 "version": "0.2.0", 7 7 "authors": [ 8 8 { -
clear-cache-for-timber/trunk/readme.md
r1432377 r3036070 2 2 ====================== 3 3 4 > Contributors: ogrosko 4 > Contributors: ogrosko, columbian-chris 5 5 > 6 6 > Donate link: … … 10 10 > Requires at least: 2.0.1 11 11 > 12 > Tested up to: 4.5.212 > Tested up to: 6.4.2 13 13 > 14 > Stable tag: 4.514 > Stable tag: 6.4 15 15 > 16 16 > License: GPLv2 or later … … 35 35 ## Changelog 36 36 37 ### 0.2.0 (21-12-2023) 38 39 Other: 40 41 - compatibility with Timber 2.0 (thanks to columbian-chris) 37 42 38 43 ### 0.1.0 (7-06-2016) -
clear-cache-for-timber/trunk/readme.txt
r1432377 r3036070 1 1 === Clear cache for Timber === 2 Contributors: ogrosko 2 Contributors: ogrosko, columbian-chris 3 3 Donate link: 4 4 Tags: cache, clear, flush, twig, Timber 5 5 Requires at least: 2.0.1 6 Tested up to: 4.5.27 Stable tag: 4.56 Tested up to: 6.4.2 7 Stable tag: 6.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 26 26 == Changelog == 27 27 28 = 0.2.0 - 21/12/2023 = 29 * compatibility with Timber 2.0 (thanks to columbian-chris) 30 28 31 = 0.1.0 - 7/06/2016 = 29 32 * 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.