PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.2.25
MxChat – AI Chatbot & Content Generation for WordPress v3.2.25
3.2.25 3.2.24 3.2.23 3.2.22 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 All 156 releases
← All changes | mxchat-basic.php +11 -2 3.2.23 → 3.2.25 View file →
@@ -2,9 +2,9 @@
2 2 /**
3 3 * Plugin Name: MxChat
4 4 * Plugin URI: https://mxchat.ai/
5 5 * Description: AI chatbot for WordPress with OpenAI, Claude, xAI, DeepSeek, live agent, PDF uploads, WooCommerce, and training on website data.
6 - * Version: 3.2.23
6 + * Version: 3.2.25
7 7 * Author: MxChat
8 8 * Author URI: https://mxchat.ai
9 9 * License: GPLv2 or later
10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -480,8 +480,9 @@
480 480 function mxchat_include_classes() {
481 481 $class_files = array(
482 482 'includes/class-mxchat-model-catalog.php',
483 483 'includes/class-mxchat-model-liveness.php',
484 + 'includes/class-mxchat-license-check.php',
484 485 'includes/class-mxchat-session-store.php',
485 486 'includes/class-mxchat-live-agent-schedule.php',
486 487 'includes/class-mxchat-tool-registry.php',
487 488 'includes/class-mxchat-integrator.php',
@@ -537,8 +538,15 @@
537 538 if (class_exists('MxChat_Model_Liveness')) {
538 539 MxChat_Model_Liveness::init();
539 540 }
540 541
542 + // Licence domain check (c93ede): once a day asks mxchat.ai whether this
543 + // site's domain is still switched on for its key, honours an explicit
544 + // "off" after a three-day grace period, and fails open on everything else.
545 + if (class_exists('MxChat_License_Check')) {
546 + MxChat_License_Check::init();
547 + }
548 +
541 549 // Gutenberg chatbot block (plan-95dd1e): a click-to-place wrapper over the
542 550 // [mxchat_chatbot] shortcode. Registers on init; no-op below WP 5.0.
543 551 if (class_exists('MxChat_Block')) {
544 552 MxChat_Block::init();
@@ -1549,9 +1557,10 @@
1549 1557 wp_clear_scheduled_hook('mxchat_reset_rate_limits');
1550 1558 wp_clear_scheduled_hook('mxchat_cleanup_old_transcripts');
1551 1559 wp_clear_scheduled_hook('mxchat_send_delayed_transcript');
1552 1560 wp_clear_scheduled_hook('mxchat_model_liveness_check');
1553 -
1561 + wp_clear_scheduled_hook('mxchat_license_check');
1562 +
1554 1563 // Clear fallback options
1555 1564 delete_option('mxchat_use_fallback_rate_limits');
1556 1565 delete_option('mxchat_next_rate_limit_check');
1557 1566 delete_option('mxchat_fallback_check_interval');