Plugin Directory

Changeset 3411265


Ignore:
Timestamp:
12/04/2025 05:51:01 PM (4 months ago)
Author:
maxicomdev
Message:

Release v2.13.0

Location:
andy-votre-assistant-intelligent
Files:
22 added
2 edited

Legend:

Unmodified
Added
Removed
  • andy-votre-assistant-intelligent/trunk/Andy-Wordress-Extension.php

    r3411263 r3411265  
    44 * Plugin Name: Andy, Votre Assistant Intelligent
    55 * Description: Installe Andy sur votre site WordPress.
    6  * Version: 2.12.0
     6 * Version: 2.13.0
    77 * Author: Maxime MORLET (MaxiCom)
    88 * License: GPLv2 or later
     
    1414// Get user language from Dashboard API
    1515function andy_get_user_language() {
    16     // Check if we have a cached language (valid for 1 hour)
    17     $cached_language = get_transient('andy_user_language');
    18     if ($cached_language !== false) {
    19         return $cached_language;
    20     }
    21    
    2216    $hostname = andy_plugin_get_hostname();
    2317   
     
    3731   
    3832    $language = isset($data['language']) ? $data['language'] : 'fr';
    39    
    40     // Cache for 1 hour
    41     set_transient('andy_user_language', $language, HOUR_IN_SECONDS);
    4233   
    4334    return $language;
     
    273264    if (version_compare($wp_version, '6.3', '>=')) {
    274265        // Modern WordPress 6.3+ way
    275         wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.12.0', [
     266        wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.13.0', [
    276267            'strategy' => 'defer',
    277268        ]);
     
    281272    } else {
    282273        // Old WordPress way
    283         wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.12.0', true);
     274        wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.13.0', true);
    284275
    285276        // Add defer manually
     
    465456        <?php
    466457            // Enqueue the script to handle the notice dismissal
    467             wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2.12.0', true);
     458            wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2.13.0', true);
    468459
    469460            endif;
     
    521512<?php
    522513    // Enqueue the script for handling the external settings form submission
    523     wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2.12.0', true);
     514    wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2.13.0', true);
    524515}
    525516
     
    758749    }";
    759750
    760     wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2.12.0');
     751    wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2.13.0');
    761752    wp_add_inline_style('andy-style', $custom_css);
    762753}
  • andy-votre-assistant-intelligent/trunk/readme.txt

    r3411263 r3411265  
    66Requires PHP: 7.3 
    77Donate link: https://essayez-andy.fr
    8 Stable tag: 2.12.0
     8Stable tag: 2.13.0
    99License: GPLv2 or later 
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html 
     
    6060== Changelog ==
    6161
    62 = 2.12.0 = 
     62= 2.13.0 = 
    6363* Rebranding complet orienté IA. 
    6464* Amélioration de la génération du contexte et de la FAQ. 
     
    7575== Upgrade Notice ==
    7676
    77 = 2.12.0 = 
     77= 2.13.0 = 
    7878Mise à jour recommandée : meilleure pertinence IA et branding clarifié. Aucun changement de configuration requis.
Note: See TracChangeset for help on using the changeset viewer.