PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 8.3.8
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v8.3.8
8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 8.5.3 8.5.2 All 533 releases
← All changes | includes/integration/grok/admin/settings.php +4 -6 8.7.28.3.8 View file →
@@ -16,15 +16,14 @@
16 16 </ul>
17 17
18 18 <div class="tab-content">
19 19 <div id="wp-chatbot-grok-settings" class="tab-pane in active">
20 - <div class="col-sm-12">
21 20 <div class="row gx-0">
22 21 <div class="mb-3">
23 22 <div class="form-check form-switch my-4">
24 23 <input class="form-check-input" type="checkbox" <?php echo ( get_option( 'qcld_grok_enabled' ) == 1 ) ? esc_attr( 'checked' ) : ''; ?> role="switch" value="" id="qcld_grok_enabled">
25 24 <label class="form-check-label" for="qcld_grok_enabled">
26 - <?php esc_html_e( 'Enable Grok AI', 'chatbot'); ?><span style="color:red"> <?php esc_html_e( '(if you want results from grok only, disable Site Search from Settings->Action Start Menu)', 'chatbot'); ?></span>
25 + <?php esc_html_e( 'Enable Grok AI', 'chatbot'); ?><span style="color:red"> <?php esc_html_e( '(if you want results from grok only, disable Site Search from Settings->Start Menu)', 'chatbot'); ?></span>
27 26 </label>
28 27 </div>
29 28 </div>
30 29 </div>
@@ -50,13 +49,13 @@
50 49 if ( $post_type->name != 'attachment' ) {
51 50 ?>
52 51 <div class="form-check form-check-inline">
53 52 <input
54 - id="site_grok_search_posttypes_<?php echo esc_attr( $post_type->name ); ?>"
53 + id="site_grok_search_posttypes_<?php echo $post_type->name; ?>"
55 54 type="checkbox"
56 55 name="site_grok_search_posttypes[]"
57 - value="<?php echo esc_attr( $post_type->name ); ?>" <?php echo ( ( get_option( 'qcld_openai_relevant_post' ) != '' ) && in_array( $post_type->name, get_option( 'qcld_openai_relevant_post' ) ) ) ? 'checked' : ''; ?>>
58 - <label class="form-check-label" for="site_grok_search_posttypes_<?php echo esc_attr( $post_type->name ); ?>"> <?php echo esc_html( $post_type->name ); ?></label>
56 + value="<?php echo $post_type->name; ?>" <?php echo ( ( get_option( 'qcld_openai_relevant_post' ) != '' ) && in_array( $post_type->name, get_option( 'qcld_openai_relevant_post' ) ) ) ? 'checked' : ''; ?>>
57 + <label class="form-check-label" for="site_grok_search_posttypes_<?php echo $post_type->name; ?>"> <?php echo $post_type->name; ?></label>
59 58 </div>
60 59 <?php
61 60 }
62 61 }
@@ -86,9 +85,8 @@
86 85 </div>
87 86 <div class="form-group mb-3">
88 87 <a class="btn btn-success" id="qcld_save_grok_setting"><?php esc_html_e( 'Save settings', 'chatbot'); ?></a>
89 88 </div>
90 - </div>
91 89 </div>
92 90 </div>
93 91 <div id="wp-chatbot-grok-help" class="tab-pane">
94 92 <?php