Plugin Directory

Changeset 3111245


Ignore:
Timestamp:
07/02/2024 03:17:45 PM (21 months ago)
Author:
axeptio
Message:

version 2.4.3 release

Location:
axeptio-sdk-integration
Files:
1772 added
4 edited

Legend:

Unmodified
Added
Removed
  • axeptio-sdk-integration/trunk/axeptio-wordpress-plugin.php

    r3111167 r3111245  
    44    Plugin URI: https://www.axeptio.eu/
    55    Description: Axeptio allows you to make your website compliant with GDPR.
    6     Version: 2.4.2
     6    Version: 2.4.3
    77    Author: axeptio
    88    License: GPLv3
     
    1414use Axeptio\Plugin\Models\Settings;
    1515
    16 define( 'XPWP_VERSION', '2.4.2' );
     16define( 'XPWP_VERSION', '2.4.3' );
    1717define( 'XPWP_URL', plugin_dir_url( __FILE__ ) );
    1818define( 'XPWP_PATH', plugin_dir_path( __FILE__ ) );
  • axeptio-sdk-integration/trunk/includes/classes/frontend/class-hook-modifier.php

    r3111167 r3111245  
    574574     * @return array|null Information about the callback or null if analysis fails.
    575575     */
    576     private function process_function($callback_function, string $name = null, string $filter = null, int $priority = null) {
     576    private function process_function($callback_function, string $name = null, string $filter = null, $priority = null) {
    577577        $filename = Search_Callback_File_Location::get_filename($callback_function, $name, $filter, $priority);
    578578
  • axeptio-sdk-integration/trunk/includes/classes/utils/class-search-callback-file-location.php

    r3111167 r3111245  
    2626     * @throws \ReflectionException
    2727     */
    28     public static function get_filename($callback, string $name = null, string $filter = null, int $priority = null): ?string
     28    public static function get_filename($callback, string $name = null, string $filter = null, int|string $priority = null): ?string
    2929    {
    30         // Generate a unique key for caching based on callback and additional parameters
    31         if ($callback instanceof \Closure) {
    32             $reflected = new \ReflectionFunction($callback);
    33             $callback_id = $reflected->getFileName();
    34         } else {
    35             $callback_id = serialize($callback);
    36         }
    37         $cache_key = 'axeptio/callback_filename_' . md5($callback_id . $name . $filter . (string)$priority);
    38         $cached_filename = get_transient($cache_key);
    39 
    40         // Check if the filename is already cached
    41         if (false !== $cached_filename) {
    42             return $cached_filename;
    43         }
    44 
    4530        // If not cached, compute the filename
    4631        $filename = self::find_file_for_callback($callback);
     
    5136                $filename = $reflection->getFileName();
    5237            }
    53         }
    54 
    55         // Cache the filename for future requests, set the expiry to 12 hours (43200 seconds)
    56         if ($filename !== null) {
    57             set_transient($cache_key, $filename, 43200);
    5838        }
    5939
  • axeptio-sdk-integration/trunk/readme.txt

    r3111167 r3111245  
    44Requires at least: 5.0
    55Tested up to: 6.5.5
    6 Stable tag: 2.4.2
     6Stable tag: 2.4.3
    77Requires PHP: 7.4
    88License: GPLv3
     
    8585== Changelog ==
    8686
     87Bien sûr, voici une proposition pour le changelog de la version 2.4.3, qui communique le retrait temporaire du système de cache et inclut des excuses pour les désagréments causés :
     88
     89== Changelog ==
     90
     91### 🛠️ 2.4.3 🛠️ ###
     92
     93**Temporary Removal of Caching Feature 🔄**
     94We’ve identified an issue with our new caching system that might have affected performance for some users. As we work on a more robust solution, we have temporarily removed this feature to ensure the best experience for all our users.
     95
     96- **Apologies for Any Inconvenience 🙏**
     97We're sorry for any trouble this might have caused. We're dedicated to getting it right, and appreciate your understanding as we make these adjustments.
     98
    8799### 🌟 2.4.2 🌟 ###
    88100
Note: See TracChangeset for help on using the changeset viewer.