Changeset 3402574
- Timestamp:
- 11/25/2025 01:31:07 PM (3 months ago)
- Location:
- fastcache-by-host-it
- Files:
-
- 3 deleted
- 8 edited
- 6 copied
-
tags/1.2.28/trunk (copied) (copied from fastcache-by-host-it/trunk)
-
tags/1.2.28/trunk/README.txt (copied) (copied from fastcache-by-host-it/trunk/README.txt) (2 diffs)
-
tags/1.2.28/trunk/admin/class-fastcache-admin.php (modified) (5 diffs)
-
tags/1.2.28/trunk/fastcache.php (copied) (copied from fastcache-by-host-it/trunk/fastcache.php) (2 diffs)
-
tags/1.2.28/trunk/logs/log.txt (deleted)
-
tags/1.2.28/trunk/public/workarounds.class.php (modified) (2 diffs)
-
tags/1.2.29 (copied) (copied from fastcache-by-host-it/trunk)
-
tags/1.2.29/README.txt (copied) (copied from fastcache-by-host-it/trunk/README.txt) (2 diffs)
-
tags/1.2.29/admin/class-fastcache-admin.php (modified) (5 diffs)
-
tags/1.2.29/fastcache.php (copied) (copied from fastcache-by-host-it/trunk/fastcache.php) (2 diffs)
-
tags/1.2.29/logs/log.txt (deleted)
-
tags/1.2.29/public/workarounds.class.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-fastcache-admin.php (modified) (5 diffs)
-
trunk/fastcache.php (modified) (2 diffs)
-
trunk/logs/log.txt (deleted)
-
trunk/public/workarounds.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fastcache-by-host-it/tags/1.2.28/trunk/README.txt
r3401661 r3402574 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 8.0 7 Stable Tag: 1.2.2 87 Stable Tag: 1.2.29 8 8 License: GPL-2.0+ 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 76 76 77 77 == Changelog == 78 1.2.29 79 Security fix 80 78 81 1.2.27 79 82 Fix for vsc misconfiguration -
fastcache-by-host-it/tags/1.2.28/trunk/admin/class-fastcache-admin.php
r3401009 r3402574 41 41 private $prefix = "hostcache_"; 42 42 private $customFields = []; 43 private $logger; 43 44 /** 44 45 * Initialize the class and set its properties. … … 52 53 $this->plugin_name = $plugin_name; 53 54 $this->version = $version; 55 $this->logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon(); 54 56 add_action('init', array(&$this, 'init'), 11); 55 57 $this->activateAction(); … … 1007 1009 add_action($event, array($this, 'purge_post'), 10, 2); 1008 1010 } 1009 $this->canPurge();1011 // $this->canPurge(); 1010 1012 1011 1013 } … … 1071 1073 $this->errorMessages.=$this->msgErroreManageOption(); 1072 1074 } 1075 1073 1076 // if (get_option('permalink_structure') == '') { 1074 1077 // $this->errorMessages.=$this->msgErrorePermalink(); 1075 1078 // } 1076 1079 if($this->errorMessages!="") { 1077 add_action( 'admin_notices', array( $this, 'displayError' ) ); 1080 $this->logger->fr("Errore comunicazione e permessi 1.0.1"); 1081 $this->logger->fr($this->errorMessages); 1082 $user = wp_get_current_user(); 1083 $this->logger->fr(implode(', ', $user->roles)); 1084 $this->logger->fr($user->allcaps); 1085 add_action( 'admin_notices', array( $this, 'displayError' ) ); 1078 1086 $this->purgeable = false; 1079 1087 } … … 1182 1190 */ 1183 1191 $purgeUrls = array_unique( $this->purgeUrls ); 1184 if ( empty( $purgeUrls ) ) { 1192 1193 if ( empty( $purgeUrls ) ) { 1185 1194 return; 1186 1195 } -
fastcache-by-host-it/tags/1.2.28/trunk/fastcache.php
r3401661 r3402574 17 17 * Plugin URI: https://fastcachecdn.com/ 18 18 * Description: Abilita il tuo sito Wordpress alla prima vera CDN realizzata PER Wordpress e configurata AD-HOC per il tuo sito. Il massimo della velocità senza difficoltà di setup. 19 * Version: 1.2.2 819 * Version: 1.2.29 20 20 * Author: Host.it - Alessandro Poletto 21 21 * Author URI: https://fastcachecdn.com/ … … 137 137 * Rename this for your plugin and update it as you release new versions. 138 138 */ 139 define( 'FASTCACHEHOST_VERSION', '1.2.2 8' );139 define( 'FASTCACHEHOST_VERSION', '1.2.29' ); 140 140 141 141 /** -
fastcache-by-host-it/tags/1.2.28/trunk/public/workarounds.class.php
r3378203 r3402574 8 8 $this->version = FASTCACHEHOST_VERSION; 9 9 $this->plugin_name = FASTCACHEHOST_HOST_PLUGINNAME; 10 10 add_action('plugins_loaded', [ $this, 'inizializza' ]); 11 11 } 12 12 public function identify() { … … 62 62 } 63 63 setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio); 64 $logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon(); 65 $logger->fr("step"); 64 66 } 65 67 } 68 } 69 } 70 public function aggiungiHeaderCustom( $headers ) { 71 $headers['X-HST-WCFAST'] = '1'; 72 return $headers; 73 } 74 public function inizializza() { 75 if ( defined('WOOCOMMERCE_VERSION') && is_plugin_active('woocommerce/woocommerce.php') ) { 76 add_filter('wp_headers', [ $this, 'aggiungiHeaderCustom' ]); 66 77 } 67 78 } -
fastcache-by-host-it/tags/1.2.29/README.txt
r3401661 r3402574 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 8.0 7 Stable Tag: 1.2.2 87 Stable Tag: 1.2.29 8 8 License: GPL-2.0+ 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 76 76 77 77 == Changelog == 78 1.2.29 79 Security fix 80 78 81 1.2.27 79 82 Fix for vsc misconfiguration -
fastcache-by-host-it/tags/1.2.29/admin/class-fastcache-admin.php
r3401009 r3402574 41 41 private $prefix = "hostcache_"; 42 42 private $customFields = []; 43 private $logger; 43 44 /** 44 45 * Initialize the class and set its properties. … … 52 53 $this->plugin_name = $plugin_name; 53 54 $this->version = $version; 55 $this->logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon(); 54 56 add_action('init', array(&$this, 'init'), 11); 55 57 $this->activateAction(); … … 1007 1009 add_action($event, array($this, 'purge_post'), 10, 2); 1008 1010 } 1009 $this->canPurge();1011 // $this->canPurge(); 1010 1012 1011 1013 } … … 1071 1073 $this->errorMessages.=$this->msgErroreManageOption(); 1072 1074 } 1075 1073 1076 // if (get_option('permalink_structure') == '') { 1074 1077 // $this->errorMessages.=$this->msgErrorePermalink(); 1075 1078 // } 1076 1079 if($this->errorMessages!="") { 1077 add_action( 'admin_notices', array( $this, 'displayError' ) ); 1080 $this->logger->fr("Errore comunicazione e permessi 1.0.1"); 1081 $this->logger->fr($this->errorMessages); 1082 $user = wp_get_current_user(); 1083 $this->logger->fr(implode(', ', $user->roles)); 1084 $this->logger->fr($user->allcaps); 1085 add_action( 'admin_notices', array( $this, 'displayError' ) ); 1078 1086 $this->purgeable = false; 1079 1087 } … … 1182 1190 */ 1183 1191 $purgeUrls = array_unique( $this->purgeUrls ); 1184 if ( empty( $purgeUrls ) ) { 1192 1193 if ( empty( $purgeUrls ) ) { 1185 1194 return; 1186 1195 } -
fastcache-by-host-it/tags/1.2.29/fastcache.php
r3401661 r3402574 17 17 * Plugin URI: https://fastcachecdn.com/ 18 18 * Description: Abilita il tuo sito Wordpress alla prima vera CDN realizzata PER Wordpress e configurata AD-HOC per il tuo sito. Il massimo della velocità senza difficoltà di setup. 19 * Version: 1.2.2 819 * Version: 1.2.29 20 20 * Author: Host.it - Alessandro Poletto 21 21 * Author URI: https://fastcachecdn.com/ … … 137 137 * Rename this for your plugin and update it as you release new versions. 138 138 */ 139 define( 'FASTCACHEHOST_VERSION', '1.2.2 8' );139 define( 'FASTCACHEHOST_VERSION', '1.2.29' ); 140 140 141 141 /** -
fastcache-by-host-it/tags/1.2.29/public/workarounds.class.php
r3378203 r3402574 8 8 $this->version = FASTCACHEHOST_VERSION; 9 9 $this->plugin_name = FASTCACHEHOST_HOST_PLUGINNAME; 10 10 add_action('plugins_loaded', [ $this, 'inizializza' ]); 11 11 } 12 12 public function identify() { … … 62 62 } 63 63 setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio); 64 $logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon(); 65 $logger->fr("step"); 64 66 } 65 67 } 68 } 69 } 70 public function aggiungiHeaderCustom( $headers ) { 71 $headers['X-HST-WCFAST'] = '1'; 72 return $headers; 73 } 74 public function inizializza() { 75 if ( defined('WOOCOMMERCE_VERSION') && is_plugin_active('woocommerce/woocommerce.php') ) { 76 add_filter('wp_headers', [ $this, 'aggiungiHeaderCustom' ]); 66 77 } 67 78 } -
fastcache-by-host-it/trunk/README.txt
r3401661 r3402574 5 5 Tested up to: 6.8.3 6 6 Requires PHP: 8.0 7 Stable Tag: 1.2.2 87 Stable Tag: 1.2.29 8 8 License: GPL-2.0+ 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 76 76 77 77 == Changelog == 78 1.2.29 79 Security fix 80 78 81 1.2.27 79 82 Fix for vsc misconfiguration -
fastcache-by-host-it/trunk/admin/class-fastcache-admin.php
r3401009 r3402574 41 41 private $prefix = "hostcache_"; 42 42 private $customFields = []; 43 private $logger; 43 44 /** 44 45 * Initialize the class and set its properties. … … 52 53 $this->plugin_name = $plugin_name; 53 54 $this->version = $version; 55 $this->logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon(); 54 56 add_action('init', array(&$this, 'init'), 11); 55 57 $this->activateAction(); … … 1007 1009 add_action($event, array($this, 'purge_post'), 10, 2); 1008 1010 } 1009 $this->canPurge();1011 // $this->canPurge(); 1010 1012 1011 1013 } … … 1071 1073 $this->errorMessages.=$this->msgErroreManageOption(); 1072 1074 } 1075 1073 1076 // if (get_option('permalink_structure') == '') { 1074 1077 // $this->errorMessages.=$this->msgErrorePermalink(); 1075 1078 // } 1076 1079 if($this->errorMessages!="") { 1077 add_action( 'admin_notices', array( $this, 'displayError' ) ); 1080 $this->logger->fr("Errore comunicazione e permessi 1.0.1"); 1081 $this->logger->fr($this->errorMessages); 1082 $user = wp_get_current_user(); 1083 $this->logger->fr(implode(', ', $user->roles)); 1084 $this->logger->fr($user->allcaps); 1085 add_action( 'admin_notices', array( $this, 'displayError' ) ); 1078 1086 $this->purgeable = false; 1079 1087 } … … 1182 1190 */ 1183 1191 $purgeUrls = array_unique( $this->purgeUrls ); 1184 if ( empty( $purgeUrls ) ) { 1192 1193 if ( empty( $purgeUrls ) ) { 1185 1194 return; 1186 1195 } -
fastcache-by-host-it/trunk/fastcache.php
r3401661 r3402574 17 17 * Plugin URI: https://fastcachecdn.com/ 18 18 * Description: Abilita il tuo sito Wordpress alla prima vera CDN realizzata PER Wordpress e configurata AD-HOC per il tuo sito. Il massimo della velocità senza difficoltà di setup. 19 * Version: 1.2.2 819 * Version: 1.2.29 20 20 * Author: Host.it - Alessandro Poletto 21 21 * Author URI: https://fastcachecdn.com/ … … 137 137 * Rename this for your plugin and update it as you release new versions. 138 138 */ 139 define( 'FASTCACHEHOST_VERSION', '1.2.2 8' );139 define( 'FASTCACHEHOST_VERSION', '1.2.29' ); 140 140 141 141 /** -
fastcache-by-host-it/trunk/public/workarounds.class.php
r3378203 r3402574 8 8 $this->version = FASTCACHEHOST_VERSION; 9 9 $this->plugin_name = FASTCACHEHOST_HOST_PLUGINNAME; 10 10 add_action('plugins_loaded', [ $this, 'inizializza' ]); 11 11 } 12 12 public function identify() { … … 62 62 } 63 63 setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio); 64 $logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon(); 65 $logger->fr("step"); 64 66 } 65 67 } 68 } 69 } 70 public function aggiungiHeaderCustom( $headers ) { 71 $headers['X-HST-WCFAST'] = '1'; 72 return $headers; 73 } 74 public function inizializza() { 75 if ( defined('WOOCOMMERCE_VERSION') && is_plugin_active('woocommerce/woocommerce.php') ) { 76 add_filter('wp_headers', [ $this, 'aggiungiHeaderCustom' ]); 66 77 } 67 78 }
Note: See TracChangeset
for help on using the changeset viewer.