Plugin Directory

Changeset 3169057


Ignore:
Timestamp:
10/15/2024 07:41:50 AM (16 months ago)
Author:
hostspa
Message:

Version 1.2.17 of FastCache plugin.

Location:
fastcache-by-host-it
Files:
48 added
4 edited

Legend:

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

    r3169055 r3169057  
    55Tested up to: 6.6.1
    66Requires PHP: 8.0
    7 Stable Tag: 1.2.16
     7Stable Tag: 1.2.17
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
  • fastcache-by-host-it/trunk/fastcache.php

    r3169055 r3169057  
    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.16
     19 * Version:           1.2.17
    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.16' );
     139define( 'FASTCACHEHOST_VERSION', '1.2.17' );
    140140
    141141/**
  • fastcache-by-host-it/trunk/public/js/fastcache-public.js

    r3160435 r3169057  
    2121            }, function (response) {
    2222                if(jQuery("#fastcacheMessageBox").length<1) {
    23                     jQuery('body').append('<div id="fastcacheMessageBox" class="">' + response + '</div>');
     23                    jQuery('body').append('<div id="litespeed-cache" class="">' + response + '</div>');
    2424                } else {
    2525                    jQuery("#fastcacheMessageBox").html(response );
  • fastcache-by-host-it/trunk/public/workarounds.class.php

    r3161311 r3169057  
    4848                $cookie_expiration = time() + (365 * 24 * 60 * 60);
    4949                if (!isset($_COOKIE[$cookie_name]) || $_COOKIE[$cookie_name]!=$cookie_value) {
    50                     setcookie($cookie_name, $cookie_value, $cookie_expiration, "/");
     50                    $dominio = $_SERVER['HTTP_HOST'];
     51                    $dominioArr=explode(".",$dominio);
     52                    if(count($dominioArr)>2) {
     53                        $dominio = "." . $dominioArr[count($dominioArr)-2] . "." . $dominioArr[count($dominioArr)-1];
     54                    }
     55                    setcookie($cookie_name, $cookie_value, $cookie_expiration, "/", $dominio);
    5156                }
    5257            }
Note: See TracChangeset for help on using the changeset viewer.