Plugin Directory

Changeset 3402574


Ignore:
Timestamp:
11/25/2025 01:31:07 PM (3 months ago)
Author:
hostspa
Message:

Release 1.2.29

Location:
fastcache-by-host-it
Files:
3 deleted
8 edited
6 copied

Legend:

Unmodified
Added
Removed
  • fastcache-by-host-it/tags/1.2.28/trunk/README.txt

    r3401661 r3402574  
    55Tested up to: 6.8.3
    66Requires PHP: 8.0
    7 Stable Tag: 1.2.28
     7Stable Tag: 1.2.29
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    7676
    7777== Changelog ==
     781.2.29
     79Security fix
     80
    78811.2.27
    7982Fix for vsc misconfiguration
  • fastcache-by-host-it/tags/1.2.28/trunk/admin/class-fastcache-admin.php

    r3401009 r3402574  
    4141    private $prefix = "hostcache_";
    4242    private $customFields = [];
     43    private $logger;
    4344    /**
    4445     * Initialize the class and set its properties.
     
    5253        $this->plugin_name = $plugin_name;
    5354        $this->version     = $version;
     55        $this->logger       = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon();
    5456        add_action('init', array(&$this, 'init'), 11);
    5557        $this->activateAction();
     
    10071009            add_action($event, array($this, 'purge_post'), 10, 2);
    10081010        }
    1009         $this->canPurge();
     1011        // $this->canPurge();
    10101012       
    10111013    }
     
    10711073            $this->errorMessages.=$this->msgErroreManageOption();
    10721074        }
     1075       
    10731076        // if (get_option('permalink_structure') == '') {
    10741077        //    $this->errorMessages.=$this->msgErrorePermalink();
    10751078        // }
    10761079        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' ) );
    10781086            $this->purgeable = false;
    10791087        }
     
    11821190         */
    11831191        $purgeUrls = array_unique( $this->purgeUrls );
    1184         if ( empty( $purgeUrls ) ) {
     1192       
     1193        if ( empty( $purgeUrls ) ) {
    11851194            return;
    11861195        }
  • fastcache-by-host-it/tags/1.2.28/trunk/fastcache.php

    r3401661 r3402574  
    1717 * Plugin URI:        https://fastcachecdn.com/
    1818 * 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.28
     19 * Version:           1.2.29
    2020 * Author:            Host.it - Alessandro Poletto
    2121 * Author URI:        https://fastcachecdn.com/
     
    137137 * Rename this for your plugin and update it as you release new versions.
    138138 */
    139 define( 'FASTCACHEHOST_VERSION', '1.2.28' );
     139define( 'FASTCACHEHOST_VERSION', '1.2.29' );
    140140
    141141/**
  • fastcache-by-host-it/tags/1.2.28/trunk/public/workarounds.class.php

    r3378203 r3402574  
    88        $this->version = FASTCACHEHOST_VERSION;
    99        $this->plugin_name = FASTCACHEHOST_HOST_PLUGINNAME;
    10        
     10        add_action('plugins_loaded', [ $this, 'inizializza' ]);
    1111    }
    1212    public function identify() {
     
    6262                    }
    6363                    setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio);
     64                    $logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon();
     65                    $logger->fr("step");
    6466                }
    6567            }
     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' ]);
    6677        }
    6778    }
  • fastcache-by-host-it/tags/1.2.29/README.txt

    r3401661 r3402574  
    55Tested up to: 6.8.3
    66Requires PHP: 8.0
    7 Stable Tag: 1.2.28
     7Stable Tag: 1.2.29
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    7676
    7777== Changelog ==
     781.2.29
     79Security fix
     80
    78811.2.27
    7982Fix for vsc misconfiguration
  • fastcache-by-host-it/tags/1.2.29/admin/class-fastcache-admin.php

    r3401009 r3402574  
    4141    private $prefix = "hostcache_";
    4242    private $customFields = [];
     43    private $logger;
    4344    /**
    4445     * Initialize the class and set its properties.
     
    5253        $this->plugin_name = $plugin_name;
    5354        $this->version     = $version;
     55        $this->logger       = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon();
    5456        add_action('init', array(&$this, 'init'), 11);
    5557        $this->activateAction();
     
    10071009            add_action($event, array($this, 'purge_post'), 10, 2);
    10081010        }
    1009         $this->canPurge();
     1011        // $this->canPurge();
    10101012       
    10111013    }
     
    10711073            $this->errorMessages.=$this->msgErroreManageOption();
    10721074        }
     1075       
    10731076        // if (get_option('permalink_structure') == '') {
    10741077        //    $this->errorMessages.=$this->msgErrorePermalink();
    10751078        // }
    10761079        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' ) );
    10781086            $this->purgeable = false;
    10791087        }
     
    11821190         */
    11831191        $purgeUrls = array_unique( $this->purgeUrls );
    1184         if ( empty( $purgeUrls ) ) {
     1192       
     1193        if ( empty( $purgeUrls ) ) {
    11851194            return;
    11861195        }
  • fastcache-by-host-it/tags/1.2.29/fastcache.php

    r3401661 r3402574  
    1717 * Plugin URI:        https://fastcachecdn.com/
    1818 * 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.28
     19 * Version:           1.2.29
    2020 * Author:            Host.it - Alessandro Poletto
    2121 * Author URI:        https://fastcachecdn.com/
     
    137137 * Rename this for your plugin and update it as you release new versions.
    138138 */
    139 define( 'FASTCACHEHOST_VERSION', '1.2.28' );
     139define( 'FASTCACHEHOST_VERSION', '1.2.29' );
    140140
    141141/**
  • fastcache-by-host-it/tags/1.2.29/public/workarounds.class.php

    r3378203 r3402574  
    88        $this->version = FASTCACHEHOST_VERSION;
    99        $this->plugin_name = FASTCACHEHOST_HOST_PLUGINNAME;
    10        
     10        add_action('plugins_loaded', [ $this, 'inizializza' ]);
    1111    }
    1212    public function identify() {
     
    6262                    }
    6363                    setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio);
     64                    $logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon();
     65                    $logger->fr("step");
    6466                }
    6567            }
     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' ]);
    6677        }
    6778    }
  • fastcache-by-host-it/trunk/README.txt

    r3401661 r3402574  
    55Tested up to: 6.8.3
    66Requires PHP: 8.0
    7 Stable Tag: 1.2.28
     7Stable Tag: 1.2.29
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    7676
    7777== Changelog ==
     781.2.29
     79Security fix
     80
    78811.2.27
    7982Fix for vsc misconfiguration
  • fastcache-by-host-it/trunk/admin/class-fastcache-admin.php

    r3401009 r3402574  
    4141    private $prefix = "hostcache_";
    4242    private $customFields = [];
     43    private $logger;
    4344    /**
    4445     * Initialize the class and set its properties.
     
    5253        $this->plugin_name = $plugin_name;
    5354        $this->version     = $version;
     55        $this->logger       = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon();
    5456        add_action('init', array(&$this, 'init'), 11);
    5557        $this->activateAction();
     
    10071009            add_action($event, array($this, 'purge_post'), 10, 2);
    10081010        }
    1009         $this->canPurge();
     1011        // $this->canPurge();
    10101012       
    10111013    }
     
    10711073            $this->errorMessages.=$this->msgErroreManageOption();
    10721074        }
     1075       
    10731076        // if (get_option('permalink_structure') == '') {
    10741077        //    $this->errorMessages.=$this->msgErrorePermalink();
    10751078        // }
    10761079        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' ) );
    10781086            $this->purgeable = false;
    10791087        }
     
    11821190         */
    11831191        $purgeUrls = array_unique( $this->purgeUrls );
    1184         if ( empty( $purgeUrls ) ) {
     1192       
     1193        if ( empty( $purgeUrls ) ) {
    11851194            return;
    11861195        }
  • fastcache-by-host-it/trunk/fastcache.php

    r3401661 r3402574  
    1717 * Plugin URI:        https://fastcachecdn.com/
    1818 * 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.28
     19 * Version:           1.2.29
    2020 * Author:            Host.it - Alessandro Poletto
    2121 * Author URI:        https://fastcachecdn.com/
     
    137137 * Rename this for your plugin and update it as you release new versions.
    138138 */
    139 define( 'FASTCACHEHOST_VERSION', '1.2.28' );
     139define( 'FASTCACHEHOST_VERSION', '1.2.29' );
    140140
    141141/**
  • fastcache-by-host-it/trunk/public/workarounds.class.php

    r3378203 r3402574  
    88        $this->version = FASTCACHEHOST_VERSION;
    99        $this->plugin_name = FASTCACHEHOST_HOST_PLUGINNAME;
    10        
     10        add_action('plugins_loaded', [ $this, 'inizializza' ]);
    1111    }
    1212    public function identify() {
     
    6262                    }
    6363                    setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio);
     64                    $logger = new \FASTCACHEHOST_HCommon\FASTCACHEHOST_HCommon();
     65                    $logger->fr("step");
    6466                }
    6567            }
     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' ]);
    6677        }
    6778    }
Note: See TracChangeset for help on using the changeset viewer.