PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.1.2
MxChat – AI Chatbot & Content Generation for WordPress v3.1.2
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 | admin/class-ajax-handler.php +20 -8 3.2.43.1.2 View file →
@@ -110,9 +110,8 @@
110 110 'deepseek-chat',
111 111 'claude-opus-4-6', 'claude-opus-4-5', 'claude-sonnet-4-6',
112 112 'claude-sonnet-4-5-20250929', 'claude-opus-4-1-20250805', 'claude-haiku-4-5-20251001',
113 113 'claude-opus-4-20250514', 'claude-sonnet-4-20250514',
114 - 'gpt-5.4', 'gpt-5.4-mini', 'gpt-5.4-nano', 'gpt-5.3-chat-latest',
115 114 'gpt-5.2', 'gpt-5.1-chat-latest', 'gpt-5.1-2025-11-13', 'gpt-5', 'gpt-5-mini', 'gpt-5-nano',
116 115 );
117 116
118 117 //error_log('MXChat Save: in_array result: ' . (in_array($value, $allowed_models) ? 'YES' : 'NO'));
@@ -190,14 +189,26 @@
190 189 if ($rag_limit < 3) $rag_limit = 3;
191 190 if ($rag_limit > 10) $rag_limit = 10;
192 191 $options[$field_name] = $rag_limit;
193 192 break;
194 - case 'rag_chunks_limit':
195 - // Validate and save - enforce min 8, max 20, default 15
196 - $chunks_limit = intval($value);
197 - if ($chunks_limit < 8) $chunks_limit = 8;
198 - if ($chunks_limit > 20) $chunks_limit = 20;
199 - $options[$field_name] = $chunks_limit;
193 + case 'user_message_bg_color':
194 + case 'user_message_font_color':
195 + case 'bot_message_bg_color':
196 + case 'bot_message_font_color':
197 + case 'top_bar_bg_color':
198 + case 'send_button_font_color':
199 + case 'chatbot_background_color':
200 + case 'icon_color':
201 + case 'chat_input_font_color':
202 + case 'live_agent_message_bg_color':
203 + case 'live_agent_message_font_color':
204 + case 'mode_indicator_bg_color':
205 + case 'mode_indicator_font_color':
206 + case 'toolbar_icon_color':
207 + case 'quick_questions_toggle_color':
208 + //error_log('MXChat Save: Processing color value: ' . $field_name);
209 + // Store color values directly
210 + $options[$field_name] = $value;
200 211 break;
201 212 case 'live_agent_status':
202 213 //error_log('MXChat Save: Processing live_agent_status');
203 214 // Set the new value
@@ -370,9 +381,10 @@
370 381 'enable_streaming_toggle',
371 382 'contextual_awareness_toggle',
372 383 'citation_links_toggle',
373 384 'enable_email_block',
374 - 'enable_name_field'
385 + 'enable_name_field',
386 + 'show_frontend_debugger'
375 387 ])) {
376 388 //error_log('MXChat Save: Processing toggle: ' . $field_name);
377 389 $options[$field_name] = ($value === 'on') ? 'on' : 'off';
378 390 } else {