PluginProbe
AI Builder – Generate pages, blocks, images & translate with AI / 2.7.10
AI Builder – Generate pages, blocks, images & translate with AI v2.7.10
2.7.10 2.7.9 2.7.8 2.0.8 2.0.9 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.3.10 All 122 releases
← All changes | aibui-builder.php +10 -4 2.7.82.7.10 View file →
@@ -1,10 +1,10 @@
1 1 <?php
2 2 /**
3 - * Plugin Name: AI Builder (PHP 7.4 test)
3 + * Plugin Name: AI Builder
4 4 * Plugin URI: https://website-ai-builder.com/
5 5 * Description: This plugin is used to build your website with AI.
6 - * Version: 2.7.8
6 + * Version: 2.7.10
7 7 * Author: enkic
8 8 * Author URI: https://enkicorbin.fr/
9 9 * License: GPLv2 or later
10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -16,9 +16,9 @@
16 16 if (!defined('ABSPATH'))
17 17 exit;
18 18
19 19 // Définir la version du plugin
20 -define('AIBUI_VERSION', '2.7.8');
20 +define('AIBUI_VERSION', '2.7.10');
21 21
22 22 /**
23 23 * Redirect to AI Builder dashboard after plugin activation.
24 24 */
@@ -656,8 +656,10 @@
656 656 // Active plugins context (max 15)
657 657 'sitePlugins' => aibui_get_active_plugins_context(),
658 658 // Current WordPress version
659 659 'wordpressVersion' => aibui_get_wordpress_version(),
660 + // Shown in the diagnostics line under chat error messages
661 + 'pluginVersion' => AIBUI_VERSION,
660 662 )
661 663 );
662 664
663 665 // Enqueue Multi-Page apply script to support applying generations via URL param
@@ -673,9 +675,13 @@
673 675 'aiBuilderVars',
674 676 array(
675 677 'ajaxurl' => admin_url('admin-ajax.php'),
676 678 'nonce' => wp_create_nonce('aibui_nonce'),
677 - // Keep editor context keys to avoid overriding data needed by chat-widget.
679 + // Keep editor context keys to avoid overriding data needed by chat-widget:
680 + // this localisation is printed last and replaces the object above.
681 + 'adminBaseUrl' => admin_url(),
682 + 'pluginUrl' => plugin_dir_url(__FILE__),
683 + 'pluginVersion' => AIBUI_VERSION,
678 684 'isPatternEditor' => ($hook === 'site-editor.php'),
679 685 'wooCommerceInstalled' => aibui_is_woocommerce_installed(),
680 686 // Active theme name
681 687 'activeThemeName' => aibui_get_active_theme_name(),