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 +5 -8 8.7.68.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 }
@@ -80,16 +79,14 @@
80 79 <div class="form-group mb-3">
81 80 <label for="qcld_grok_system_content"><?php esc_attr_e( 'System Command or Prompt for RAG and OpenAI Direct (Use it to Instruct ChatGPT how to behave)', 'chatbot'); ?></label>
82 81 <textarea type="text" rows="5" class="form-control" id="qcld_grok_system_content" placeholder="<?php echo esc_attr( 'You are a helpful and intelligent assistant for the website "' . site_url() . '". Use live website data and the provided context to respond accurately and briefly. Stay relevant and do not introduce additional topics.' ); ?>"><?php echo esc_html( get_option( 'qcld_grok_system_content' ) ); ?></textarea><br>
83 82 <label><small><?php esc_html_e( "To set the ChatBot's tone and character set a system message according to your need", 'chatbot'); ?></small></label></br>
84 - <?php /* translators: %s: website URL. */ ?>
85 - <label><small><?php printf( esc_html__( 'Example: You are a helpful and intelligent assistant for the website %s. Use live website data and the provided context to respond accurately and briefly. Stay relevant and do not introduce additional topics.', 'chatbot' ), esc_url( site_url() ) ); ?></small></label>
83 + <label><small><?php esc_html_e( 'Example: You are a helpful and intelligent assistant for the website "' . site_url() . '". Use live website data and the provided context to respond accurately and briefly. Stay relevant and do not introduce additional topics.', 'chatbot'); ?></small></label>
86 84 </div>
87 85 </div>
88 86 <div class="form-group mb-3">
89 87 <a class="btn btn-success" id="qcld_save_grok_setting"><?php esc_html_e( 'Save settings', 'chatbot'); ?></a>
90 88 </div>
91 - </div>
92 89 </div>
93 90 </div>
94 91 <div id="wp-chatbot-grok-help" class="tab-pane">
95 92 <?php