Plugin Directory

Changeset 3395392


Ignore:
Timestamp:
11/13/2025 11:03:14 PM (5 months ago)
Author:
maxicomdev
Message:

Release v2.10.0

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

Legend:

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

    r3389897 r3395392  
    44 * Plugin Name: Andy, Votre Assistant Intelligent
    55 * Description: Installe Andy sur votre site WordPress.
    6  * Version: 2.9.0
     6 * Version: 2.10.0
    77 * Author: Maxime MORLET (MaxiCom)
    88 * License: GPLv2 or later
     
    7373}
    7474register_activation_hook( __FILE__, 'andy_assistant_activate' );
     75
     76add_filter('wp_headers', function ($headers) {
     77    $headers['Content-Security-Policy'] =
     78        "default-src * 'unsafe-inline' 'unsafe-eval' data: blob:; " .
     79        "connect-src * data: blob:; " .
     80        "script-src * 'unsafe-inline' 'unsafe-eval' data: blob:; " .
     81        "style-src * 'unsafe-inline' data: blob:; " .
     82        "img-src * data: blob:; " .
     83        "frame-src *; " .
     84        "font-src * data:;";
     85    return $headers;
     86}, 9999);
    7587
    7688// Display a notice in the admin area after plugin activation
     
    113125    if (version_compare($wp_version, '6.3', '>=')) {
    114126        // Modern WordPress 6.3+ way
    115         wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.9.0', [
     127        wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.10.0', [
    116128            'strategy' => 'defer',
    117129        ]);
     
    121133    } else {
    122134        // Old WordPress way
    123         wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.9.0', true);
     135        wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.10.0', true);
    124136
    125137        // Add defer manually
     
    304316        <?php
    305317            // Enqueue the script to handle the notice dismissal
    306             wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2.9.0', true);
     318            wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2.10.0', true);
    307319
    308320            endif;
     
    360372<?php
    361373    // Enqueue the script for handling the external settings form submission
    362     wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2.9.0', true);
     374    wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2.10.0', true);
    363375}
    364376
     
    601613    }";
    602614
    603     wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2.9.0');
     615    wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2.10.0');
    604616    wp_add_inline_style('andy-style', $custom_css);
    605617}
  • andy-votre-assistant-intelligent/trunk/readme.txt

    r3389897 r3395392  
    66Requires PHP: 7.3 
    77Donate link: https://essayez-andy.fr
    8 Stable tag: 2.9.0
     8Stable tag: 2.10.0
    99License: GPLv2 or later 
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html 
     
    6060== Changelog ==
    6161
    62 = 2.9.0 = 
     62= 2.10.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.9.0 = 
     77= 2.10.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.