PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 2.0.0
MxChat – AI Chatbot & Content Generation for WordPress v2.0.0
3.2.21 3.2.20 3.2.19 3.2.18 3.2.17 3.2.16 3.2.15 3.2.14 3.2.12 3.2.13 3.2.11 3.2.10 3.2.9 3.2.8 3.2.7 3.2.6 3.2.5 3.2.4 3.2.3 3.2.2 3.2.1 2.0.3 2.0.4 2.0.5 2.0.6 All 152 releases
← All changes | mxchat-basic.php +4 -3 2.0.62.0.0 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2 /**
3 3 * Plugin Name: MxChat
4 4 * Description: AI chatbot for WordPress with OpenAI, Claude, xAI, DeepSeek, live agent, PDF uploads, WooCommerce, and training on website data.
5 - * Version: 2.0.6
5 + * Version: 2.0.0
6 6 * Author: MxChat
7 7 * Author URI: https://mxchat.ai
8 8 * License: GPLv2 or later
9 9 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -26,8 +26,9 @@
26 26 require_once plugin_dir_path(__FILE__) . 'includes/class-mxchat-admin.php';
27 27 require_once plugin_dir_path(__FILE__) . 'includes/class-mxchat-public.php';
28 28 require_once plugin_dir_path(__FILE__) . 'includes/class-mxchat-utils.php';
29 29 require_once plugin_dir_path(__FILE__) . 'includes/class-mxchat-user.php';
30 +require_once plugin_dir_path(__FILE__) . 'includes/class-mxchat-woocommerce.php';
30 31 require_once plugin_dir_path(__FILE__) . 'includes/pdf-parser/alt_autoload.php';
31 32 require_once plugin_dir_path(__FILE__) . 'includes/class-mxchat-word-handler.php';
32 33
33 34 function mxchat_activate() {
@@ -89,9 +90,9 @@
89 90 // Set default thresholds for existing intents
90 91 $wpdb->query("UPDATE {$intents_table} SET similarity_threshold = 0.85 WHERE similarity_threshold IS NULL");
91 92
92 93 // Update plugin version in the database
93 - update_option('mxchat_plugin_version', '2.0.6');
94 + update_option('mxchat_plugin_version', '2.0.0');
94 95 }
95 96
96 97
97 98 function mxchat_add_missing_columns($table, $column_name, $column_type) {
@@ -103,9 +104,9 @@
103 104 }
104 105
105 106 function mxchat_check_for_update() {
106 107 $current_version = get_option('mxchat_plugin_version');
107 - $plugin_version = '2.0.6'; // Update with your latest version
108 + $plugin_version = '2.0.0'; // Update with your latest version
108 109
109 110 if ($current_version !== $plugin_version) {
110 111 mxchat_activate(); // Run the activation script to apply schema changes
111 112 mxchat_migrate_live_agent_status(); // Add migration for live agent status