Plugin Directory

Changeset 3378226


Ignore:
Timestamp:
10/14/2025 02:18:37 PM (4 months ago)
Author:
hostspa
Message:

1.2.20
Fix for compatibility with Wordpress plugin best practices
Add Url Exclusion
Add Workaround for minicart woocommerce

Location:
fastcache-by-host-it/trunk
Files:
3 edited

Legend:

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

    r3378203 r3378226  
    55Tested up to: 6.8.3
    66Requires PHP: 8.0
    7 Stable Tag: 1.2.20
     7Stable Tag: 1.2.21
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    7676
    7777== Changelog ==
     781.2.21
     79Minor fix in admin page
     80
    78811.2.20
    7982Fix for compatibility with Wordpress plugin best practices
  • fastcache-by-host-it/trunk/admin/class-fastcache-admin.php

    r3378203 r3378226  
    420420                'label_for'   => 'url-exclusion-textarea',
    421421                'class'=>'w-2/3 text-gray-800 p-4 bg-white border-[1px] border-gray-800 rounded-lg  hover:bg-gray-50',
    422                 'description'=>'Inserire nella textarea sottostante gli URL (uno per riga) che non devono essere inseriti nella cache'
     422                'description'=>'Inserire nella textarea gli URL (uno per riga) che non devono essere inseriti nella cache'
    423423           
    424424            )
     
    718718        if ( function_exists('WC') ) {
    719719           
    720             $classLabel = " w-full p-5 text-gray-500 bg-white border-2 border-gray-200 rounded-lg cursor-pointer  peer-checked:border-blue-600 hover:text-gray-600  peer-checked:text-gray-600 hover:bg-gray-50 ";
     720            $classLabel = " w-full p-5 text-gray-500 bg-white   peer-checked:border-blue-600 hover:text-gray-600  peer-checked:text-gray-600 hover:bg-gray-50 ";
    721721           
    722             $html .= "<div class=\"" . $classLabel . "\">";
    723             $html .= "<h3 style='padding-top: 10px; padding-bottom: 10px;'>Qui in seguito alcuni url che in caso di woocommerce sono da disattivare</h3>";
    724             $html .= "<p style='padding: 10px;'>In caso di \"lingua italiana\" sono da inserirsi anche tradotti (carrello / mio-account / cassa / paga-ordine / ordine-ricevuto / visualizza-ordine...)</p>";
     722            $html .= "<div style=\"margin-top: 50px;\" class=\"" . $classLabel . "\">";
     723            $html .= "<h3 style='padding-top: 10px; padding-bottom: 10px;'>Elenco di endpoint \"Woocommerce\" che può essere utile inserire all'interno della textarea \"Url Exclusion\"</h3>";
    725724            $endpoints = WC()->query->query_vars;
    726725            foreach ($endpoints as $endpoint) {
    727                 $html .= "<div style='font-weight: bold ;'>" . esc_html($endpoint) . "</div>";
     726                $html .= "<div style='font-weight: bold ; padding-left:50px;'>" . esc_html($endpoint) . "</div>";
    728727            }
    729             $html .= "<div style='font-weight: bold ;'>cart</div>";
    730             $html .= "<div style='font-weight: bold ;'>my-account</div>";
     728            $html .= "<div style='font-weight: bold ;padding-left:50px;'>cart</div>";
     729            $html .= "<div style='font-weight: bold ;padding-left:50px;'>my-account</div>";
    731730           
     731            $html .= "<p style='padding: 10px; margin-top: 30px;'>In caso di configurazione di woocommerce in \"lingua italiana\" è possibile che gli url siano da inserirsi <strong>anche</strong> tradotti (carrello / mio-account / cassa / paga-ordine / ordine-ricevuto / visualizza-ordine...)</p>";
    732732            $html .= "</div>";
    733733        }
  • fastcache-by-host-it/trunk/fastcache.php

    r3378203 r3378226  
    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.20
     19 * Version:           1.2.21
    2020 * Author:            Host.it - Alessandro Poletto
    2121 * Author URI:        https://fastcachecdn.com/
Note: See TracChangeset for help on using the changeset viewer.