Plugin Directory

Changeset 3317906


Ignore:
Timestamp:
06/25/2025 11:58:36 PM (9 months ago)
Author:
maxicomdev
Message:

v2.1.0

File:
1 edited

Legend:

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

    r3317904 r3317906  
    44 * Plugin Name: Andy, Votre Assistant Intelligent
    55 * Description: Installe Andy sur votre site WordPress.
    6  * Version: 2.0.7
     6 * Version: 2.1.0
    77 * Author: Maxime MORLET (MaxiCom)
    88 * License: GPLv2 or later
     
    111111    if (version_compare($wp_version, '6.3', '>=')) {
    112112        // Modern WordPress 6.3+ way
    113         wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.0.7', [
     113        wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.1.0', [
    114114            'strategy' => 'defer',
    115115        ]);
     
    119119    } else {
    120120        // Old WordPress way
    121         wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.0.7', true);
     121        wp_enqueue_script('andy-script', $plugin_url . 'Andy/assets/Andy-Widget/scripts/Andy.js', [], '2.1.0', true);
    122122
    123123        // Add defer manually
     
    302302        <?php
    303303            // Enqueue the script to handle the notice dismissal
    304             wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2.0.7', true);
     304            wp_enqueue_script('andy-dismiss-notice', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-dismiss-notice.js', [], '2.1.0', true);
    305305
    306306            endif;
     
    358358<?php
    359359    // Enqueue the script for handling the external settings form submission
    360     wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2.0.7', true);
     360    wp_enqueue_script('andy-external-settings', $plugin_url . 'Andy/assets/Wordpress/scripts/andy-external-wordpress-settings.js', [], '2.1.0', true);
    361361}
    362362
     
    599599    }";
    600600
    601     wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2.0.7');
     601    wp_enqueue_style('andy-style', $plugin_url . 'Andy/assets/Andy-Widget/styles/Andy.css', [], '2.1.0');
    602602    wp_add_inline_style('andy-style', $custom_css);
    603603}
Note: See TracChangeset for help on using the changeset viewer.