PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.1.8
MxChat – AI Chatbot & Content Generation for WordPress v3.1.8
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 | includes/admin-content-page.php +0 -27 3.2.63.1.8 View file →
@@ -515,9 +515,8 @@
515 515 <?php
516 516 $content_model = $options['content_model'] ?? ($options['model'] ?? 'gpt-5.1-chat-latest');
517 517 $models = array(
518 518 'OpenAI' => array(
519 - 'gpt-5.5' => 'GPT-5.5',
520 519 'gpt-5.4' => 'GPT-5.4',
521 520 'gpt-5.2' => 'GPT-5.2',
522 521 'gpt-5.1-chat-latest' => 'GPT-5.1',
523 522 'gpt-5' => 'GPT-5',
@@ -522,9 +521,8 @@
522 521 'gpt-5.1-chat-latest' => 'GPT-5.1',
523 522 'gpt-5' => 'GPT-5',
524 523 ),
525 524 'Anthropic' => array(
526 - 'claude-opus-4-7' => 'Claude Opus 4.7',
527 525 'claude-opus-4-6' => 'Claude Opus 4.6',
528 526 'claude-sonnet-4-6' => 'Claude Sonnet 4.6',
529 527 'claude-haiku-4-5-20251001' => 'Claude Haiku 4.5',
530 528 ),
@@ -558,9 +556,8 @@
558 556 <div class="mxch-field-control">
559 557 <?php $image_model = $options['content_image_model'] ?? 'gpt-image-1.5'; ?>
560 558 <select id="mxch-image-model" data-field="content_image_model" class="mxch-cg-select">
561 559 <optgroup label="<?php esc_attr_e('OpenAI', 'mxchat'); ?>">
562 - <option value="gpt-image-2" <?php selected($image_model, 'gpt-image-2'); ?>><?php esc_html_e('GPT Image 2 (Latest)', 'mxchat'); ?></option>
563 560 <option value="gpt-image-1.5" <?php selected($image_model, 'gpt-image-1.5'); ?>><?php esc_html_e('GPT Image 1.5', 'mxchat'); ?></option>
564 561 </optgroup>
565 562 <optgroup label="<?php esc_attr_e('xAI', 'mxchat'); ?>">
566 563 <option value="grok-imagine-image-pro" <?php selected($image_model, 'grok-imagine-image-pro'); ?>><?php esc_html_e('Grok Imagine Pro', 'mxchat'); ?></option>
@@ -573,32 +570,8 @@
573 570 </select>
574 571 </div>
575 572 <p class="mxch-field-description"><?php esc_html_e('Select the AI model used for generating images within your content.', 'mxchat'); ?></p>
576 573 </div>
577 -
578 - <!-- Image Quality (GPT Image only) -->
579 - <div class="mxch-field">
580 - <label class="mxch-field-label" for="mxch-image-quality"><?php esc_html_e('Image Quality', 'mxchat'); ?></label>
581 - <div class="mxch-field-control">
582 - <?php $image_quality = $options['content_image_quality'] ?? 'auto'; ?>
583 - <?php $quality_supported = (strpos($image_model, 'gpt-image') === 0); ?>
584 - <select id="mxch-image-quality" data-field="content_image_quality" class="mxch-cg-select"<?php echo $quality_supported ? '' : ' disabled'; ?>>
585 - <option value="auto" <?php selected($image_quality, 'auto'); ?>><?php esc_html_e('Auto (default)', 'mxchat'); ?></option>
586 - <option value="low" <?php selected($image_quality, 'low'); ?>><?php esc_html_e('Low (fastest, cheapest)', 'mxchat'); ?></option>
587 - <option value="medium" <?php selected($image_quality, 'medium'); ?>><?php esc_html_e('Medium', 'mxchat'); ?></option>
588 - <option value="high" <?php selected($image_quality, 'high'); ?>><?php esc_html_e('High (best, slowest)', 'mxchat'); ?></option>
589 - </select>
590 - </div>
591 - <p class="mxch-field-description"><?php esc_html_e('Quality control for OpenAI GPT Image models only. Grok Imagine and Gemini image models ignore this setting (their APIs do not expose an equivalent parameter).', 'mxchat'); ?></p>
592 - </div>
593 - <script>(function(){
594 - var m = document.getElementById('mxch-image-model');
595 - var q = document.getElementById('mxch-image-quality');
596 - if (!m || !q || q._wired) { return; } q._wired = true;
597 - function sync(){ q.disabled = (m.value || '').indexOf('gpt-image') !== 0; }
598 - m.addEventListener('change', sync);
599 - sync();
600 - })();</script>
601 574
602 575 <!-- Enable Image Generation -->
603 576 <div class="mxch-field">
604 577 <label class="mxch-toggle">