PluginProbe
MxChat – AI Chatbot & Content Generation for WordPress / 3.2.0
MxChat – AI Chatbot & Content Generation for WordPress v3.2.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 | includes/admin-content-page.php +2 -69 3.2.153.2.0 View file →
@@ -515,12 +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.6-sol' => 'GPT-5.6 Sol',
520 - 'gpt-5.6-terra' => 'GPT-5.6 Terra',
521 - 'gpt-5.6-luna' => 'GPT-5.6 Luna',
522 - 'gpt-5.5' => 'GPT-5.5',
523 519 'gpt-5.4' => 'GPT-5.4',
524 520 'gpt-5.2' => 'GPT-5.2',
525 521 'gpt-5.1-chat-latest' => 'GPT-5.1',
526 522 'gpt-5' => 'GPT-5',
@@ -525,26 +521,15 @@
525 521 'gpt-5.1-chat-latest' => 'GPT-5.1',
526 522 'gpt-5' => 'GPT-5',
527 523 ),
528 524 'Anthropic' => array(
529 - 'claude-fable-5' => 'Claude Fable 5',
530 - 'claude-opus-5' => 'Claude Opus 5',
531 - 'claude-opus-4-8' => 'Claude Opus 4.8',
532 - 'claude-opus-4-7' => 'Claude Opus 4.7',
533 525 'claude-opus-4-6' => 'Claude Opus 4.6',
534 - 'claude-sonnet-5' => 'Claude Sonnet 5',
535 526 'claude-sonnet-4-6' => 'Claude Sonnet 4.6',
536 527 'claude-haiku-4-5-20251001' => 'Claude Haiku 4.5',
537 528 ),
538 529 'Google' => array(
539 - 'gemini-3.5-flash' => 'Gemini 3.5 Flash',
540 - 'gemini-3.1-pro-preview' => 'Gemini 3.1 Pro',
541 - 'gemini-3-flash-preview' => 'Gemini 3 Flash',
542 - 'gemini-3.1-flash-lite' => 'Gemini 3.1 Flash-Lite',
543 - 'gemini-3.1-flash-lite-preview' => 'Gemini 3.1 Flash-Lite (Preview)',
544 - 'gemini-2.5-pro' => 'Gemini 2.5 Pro',
545 - 'gemini-2.5-flash' => 'Gemini 2.5 Flash',
546 - 'gemini-2.5-flash-lite' => 'Gemini 2.5 Flash-Lite',
530 + 'gemini-3-pro-preview' => 'Gemini 3 Pro',
531 + 'gemini-2.5-pro' => 'Gemini 2.5 Pro',
547 532 ),
548 533 'xAI' => array(
549 534 'grok-4-0709' => 'Grok 4',
550 535 'grok-4-1-fast-non-reasoning' => 'Grok 4.1 Fast',
@@ -571,9 +556,8 @@
571 556 <div class="mxch-field-control">
572 557 <?php $image_model = $options['content_image_model'] ?? 'gpt-image-1.5'; ?>
573 558 <select id="mxch-image-model" data-field="content_image_model" class="mxch-cg-select">
574 559 <optgroup label="<?php esc_attr_e('OpenAI', 'mxchat'); ?>">
575 - <option value="gpt-image-2" <?php selected($image_model, 'gpt-image-2'); ?>><?php esc_html_e('GPT Image 2 (Latest)', 'mxchat'); ?></option>
576 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>
577 561 </optgroup>
578 562 <optgroup label="<?php esc_attr_e('xAI', 'mxchat'); ?>">
579 563 <option value="grok-imagine-image-pro" <?php selected($image_model, 'grok-imagine-image-pro'); ?>><?php esc_html_e('Grok Imagine Pro', 'mxchat'); ?></option>
@@ -587,32 +571,8 @@
587 571 </div>
588 572 <p class="mxch-field-description"><?php esc_html_e('Select the AI model used for generating images within your content.', 'mxchat'); ?></p>
589 573 </div>
590 574
591 - <!-- Image Quality (GPT Image only) -->
592 - <div class="mxch-field">
593 - <label class="mxch-field-label" for="mxch-image-quality"><?php esc_html_e('Image Quality', 'mxchat'); ?></label>
594 - <div class="mxch-field-control">
595 - <?php $image_quality = $options['content_image_quality'] ?? 'auto'; ?>
596 - <?php $quality_supported = (strpos($image_model, 'gpt-image') === 0); ?>
597 - <select id="mxch-image-quality" data-field="content_image_quality" class="mxch-cg-select"<?php echo $quality_supported ? '' : ' disabled'; ?>>
598 - <option value="auto" <?php selected($image_quality, 'auto'); ?>><?php esc_html_e('Auto (default)', 'mxchat'); ?></option>
599 - <option value="low" <?php selected($image_quality, 'low'); ?>><?php esc_html_e('Low (fastest, cheapest)', 'mxchat'); ?></option>
600 - <option value="medium" <?php selected($image_quality, 'medium'); ?>><?php esc_html_e('Medium', 'mxchat'); ?></option>
601 - <option value="high" <?php selected($image_quality, 'high'); ?>><?php esc_html_e('High (best, slowest)', 'mxchat'); ?></option>
602 - </select>
603 - </div>
604 - <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>
605 - </div>
606 - <script>(function(){
607 - var m = document.getElementById('mxch-image-model');
608 - var q = document.getElementById('mxch-image-quality');
609 - if (!m || !q || q._wired) { return; } q._wired = true;
610 - function sync(){ q.disabled = (m.value || '').indexOf('gpt-image') !== 0; }
611 - m.addEventListener('change', sync);
612 - sync();
613 - })();</script>
614 -
615 575 <!-- Enable Image Generation -->
616 576 <div class="mxch-field">
617 577 <label class="mxch-toggle">
618 578 <?php $enable_images = $options['content_enable_images'] ?? 'on'; ?>
@@ -621,35 +581,8 @@
621 581 <span class="mxch-toggle-label"><?php esc_html_e('Enable Image Generation', 'mxchat'); ?></span>
622 582 </label>
623 583 <p class="mxch-field-description"><?php esc_html_e('When enabled, AI will generate and place images throughout your content. When disabled, pages are generated with text-only layouts.', 'mxchat'); ?></p>
624 584 </div>
625 -
626 - <!-- Images per Article -->
627 - <div class="mxch-field">
628 - <label class="mxch-field-label" for="mxch-image-count"><?php esc_html_e('Images per Article', 'mxchat'); ?></label>
629 - <div class="mxch-field-control">
630 - <?php $image_count = max(1, min(5, (int) ($options['content_image_count'] ?? 3))); ?>
631 - <?php $images_on = ($options['content_enable_images'] ?? 'on') === 'on'; ?>
632 - <div class="mxch-cg-slider-row">
633 - <input type="range" min="1" max="5" step="1" value="<?php echo esc_attr($image_count); ?>"
634 - data-field="content_image_count" id="mxch-image-count" class="mxch-cg-slider"<?php echo $images_on ? '' : ' disabled'; ?>>
635 - <span id="mxch-image-count-val" class="mxch-cg-slider-value"><?php echo esc_html($image_count); ?></span>
636 - </div>
637 - </div>
638 - <p class="mxch-field-description"><?php esc_html_e('How many images to generate and place in each article (1–5). Default 3. The AI may generate fewer if the article has few sections suited to imagery.', 'mxchat'); ?></p>
639 - </div>
640 - <script>(function(){
641 - var s = document.getElementById('mxch-image-count');
642 - var v = document.getElementById('mxch-image-count-val');
643 - if (!s || !v || s._wired) { return; } s._wired = true;
644 - s.addEventListener('input', function(){ v.textContent = s.value; });
645 - var e = document.querySelector('[data-field="content_enable_images"]');
646 - if (e) {
647 - var syncCount = function(){ s.disabled = !e.checked; };
648 - e.addEventListener('change', syncCount);
649 - syncCount();
650 - }
651 - })();</script>
652 585
653 586 <!-- Internal Linking (Pro) -->
654 587 <div class="mxch-field mxch-cg-pro-field<?php echo $pro_internal_linking ? '' : ' mxch-cg-pro-locked'; ?>">
655 588 <label class="mxch-toggle">