Changeset 3317906
- Timestamp:
- 06/25/2025 11:58:36 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
andy-votre-assistant-intelligent/tags/2.1.0/Andy-Wordress-Extension.php
r3317904 r3317906 4 4 * Plugin Name: Andy, Votre Assistant Intelligent 5 5 * Description: Installe Andy sur votre site WordPress. 6 * Version: 2. 0.76 * Version: 2.1.0 7 7 * Author: Maxime MORLET (MaxiCom) 8 8 * License: GPLv2 or later … … 111 111 if (version_compare($wp_version, '6.3', '>=')) { 112 112 // 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', [ 114 114 'strategy' => 'defer', 115 115 ]); … … 119 119 } else { 120 120 // 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); 122 122 123 123 // Add defer manually … … 302 302 <?php 303 303 // 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); 305 305 306 306 endif; … … 358 358 <?php 359 359 // 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); 361 361 } 362 362 … … 599 599 }"; 600 600 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'); 602 602 wp_add_inline_style('andy-style', $custom_css); 603 603 }
Note: See TracChangeset
for help on using the changeset viewer.