PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 1.6.4
MxChat – AI Chatbot & Content Generation for WordPress v1.6.4
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 +3 -13 2.0.41.6.4 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.4
5 + * Version: 1.6.4
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
@@ -90,9 +90,9 @@
90 90 // Set default thresholds for existing intents
91 91 $wpdb->query("UPDATE {$intents_table} SET similarity_threshold = 0.85 WHERE similarity_threshold IS NULL");
92 92
93 93 // Update plugin version in the database
94 - update_option('mxchat_plugin_version', '2.0.4');
94 + update_option('mxchat_plugin_version', '1.6.4');
95 95 }
96 96
97 97
98 98 function mxchat_add_missing_columns($table, $column_name, $column_type) {
@@ -104,9 +104,9 @@
104 104 }
105 105
106 106 function mxchat_check_for_update() {
107 107 $current_version = get_option('mxchat_plugin_version');
108 - $plugin_version = '2.0.4'; // Update with your latest version
108 + $plugin_version = '1.6.4'; // Update with your latest version
109 109
110 110 if ($current_version !== $plugin_version) {
111 111 mxchat_activate(); // Run the activation script to apply schema changes
112 112 mxchat_migrate_live_agent_status(); // Add migration for live agent status
@@ -152,22 +152,12 @@
152 152
153 153 // Register activation hook
154 154 register_activation_hook(__FILE__, 'mxchat_activate');
155 155
156 -
157 -add_filter('cron_schedules', function($schedules) {
158 - $schedules['one_minute'] = array(
159 - 'interval' => 60,
160 - 'display' => 'Every Minute'
161 - );
162 - return $schedules;
163 -});
164 -
165 156 add_action('init', function() {
166 157 add_action('mxchat_process_pdf_pages', array('MxChat_Admin', 'process_pdf_pages_cron'), 10, 5);
167 158 add_action('mxchat_process_sitemap_urls', array('MxChat_Admin', 'process_sitemap_urls_cron'), 10, 5);
168 159 });
169 -
170 160
171 161 // Instantiate classes
172 162 if (is_admin()) {
173 163 $mxchat_admin = new MxChat_Admin();