Plugin Directory

Changeset 2695810


Ignore:
Timestamp:
03/18/2022 08:32:27 AM (4 years ago)
Author:
ergonet
Message:

1.0.5 version release

Location:
ergonet-varnish-cache
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • ergonet-varnish-cache/trunk/readme.txt

    r2650418 r2695810  
    33Tags: cache
    44Requires at least: 4.9
    5 Tested up to: 5.8
    6 Stable tag: 1.0.4
     5Tested up to: 5.9
     6Stable tag: 1.0.5
    77Requires PHP: 7.1
    88License: GPLv2 or later
     
    104104
    105105== Changelog ==
     106= 1.0.5 =
     107Release date: March 18th, 2022
     108Welcome 1.0.5 release!
     109Bugfixes:
     110- Fixes an incompatibility with Elementor 3.5.6
     111Other:
     112- Tested up with WordPress 5.9
    106113
    107114= 1.0.3 =
  • ergonet-varnish-cache/trunk/varnishCache.php

    r2650418 r2695810  
    66Plugin Name: Ergonet Varnish Cache
    77Description: Plugin per la gestione della cache Varnish su hosting Ergonet. Al momento dell'aggiornamento di un articolo/pagina, il plugin provvede a cancellarlo dalla cache in modo da fornire agli utenti sempre l'ultima versione del contenuto.
    8 Version: 1.0.4
     8Version: 1.0.5
    99Author: Ergonet srl
    1010Author URI: https://www.ergonet.it
     
    2828Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
    2929
    30 Copyright 2019-2020 Ergonet srl
     30Copyright 2019-2022 Ergonet srl
    3131 */
    3232
     
    164164        $address = gethostbyname($hostname);
    165165        $url = $parsedUrl['scheme'] . '://' . $address;
    166         if($parsedUrl['port']) {
     166        if(array_key_exists('port', $parsedUrl)) {
    167167            $url .= ':' . $parsedUrl['port'];
    168168        }
    169         if($parsedUrl['path']) {
     169        if(array_key_exists('path', $parsedUrl)) {
    170170            $url .= $parsedUrl['path'];
    171171        }
    172         if($parsedUrl['query']) {
     172        if(array_key_exists('query', $parsedUrl)) {
    173173            $url .= '?' . $parsedUrl['query'];
    174174        }
    175         if($parsedUrl['fragment']) {
     175        if(array_key_exists('fragment', $parsedUrl)) {
    176176            $url .= '#' . $parsedUrl['fragment'];
    177177        }
Note: See TracChangeset for help on using the changeset viewer.