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/simple_text_response.php +6 -66 8.6.08.3.8 View file →
@@ -32,15 +32,15 @@
32 32 if(isset($_GET['query']) && wp_unslash($_GET['query'])!=''){
33 33 $hasEdit = true;
34 34 $id = sanitize_text_field(wp_unslash($_GET['query']));
35 35 $table = $wpdb->prefix.'wpbot_response';
36 - $data = $wpdb->get_row($wpdb->prepare("select * from {$table} where id = %d", $id)); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter
36 + $data = $wpdb->get_row($wpdb->prepare("select * from $table where id = %d", $id)); //DB Call OK, No Caching OK
37 37 }
38 38 ?>
39 39 <div class="qcld-wp-chatbot-wrap-header">
40 40
41 41 <div class="qcld-wp-chatbot-wrap-header-logo"><a href="#" class="qcld-wp-chatbot-wrap-site__logo"><img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/chatbot.png' ); ?>" alt="Dialogflow CX"> WPBot Control Panel </a>
42 - <p><strong>Core Version:</strong> v<?php echo esc_html( QCLD_wpCHATBOT_VERSION ); ?></p>
42 + <p><strong>Core Version:</strong> v<?php echo QCLD_wpCHATBOT_VERSION; ?></p>
43 43 </div>
44 44 <ul class="qcld-wp-chatbot-wrap-version-wrapper">
45 45 <li>
46 46 <a class="wpchatbot-Upgrade" href="https://www.wpbot.pro/" target="_blank">Upgrade To Pro</a>
@@ -125,9 +125,9 @@
125 125
126 126 <div class="qcld-wp-chatbot-wrap-header">
127 127
128 128 <a href="#" class="qcld-wp-chatbot-wrap-site__logo"><img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/chatbot.png' ); ?>" alt="Dialogflow CX"> WPBot Control Panel </a>
129 - <p><strong>Core Version:</strong> v<?php echo esc_html( QCLD_wpCHATBOT_VERSION ); ?></p>
129 + <p><strong>Core Version:</strong> v<?php echo QCLD_wpCHATBOT_VERSION; ?></p>
130 130 <ul class="qcld-wp-chatbot-wrap-version-wrapper">
131 131 <li>
132 132 <a class="wpchatbot-Upgrade" href="https://www.wpbot.pro/" target="_blank">Upgrade To Pro</a>
133 133
@@ -226,9 +226,9 @@
226 226
227 227
228 228
229 229 </div>
230 - <div class="qcld-show-more-show-more"><div class="Expandmore">Expand for More Options<span>+</span></div></div>
230 + <div class="qcld-show-more-show-more"><i class="dashicons dashicons-plus-alt" aria-hidden="true"></i></div>
231 231 </div>
232 232
233 233 <div id="poststuff">
234 234 <div id="post-body" class="metabox-holder">
@@ -539,81 +539,21 @@
539 539 .TextResponsesouter span.displaying-num {
540 540 color: #fff;
541 541 }
542 542
543 -.TextResponsesouter .tablenav #doaction, .TextResponsesouter .tablenav #doaction2 {
544 - border: 1px solid #ffffff !important;
545 - color: #ffffff !important;
546 -}
547 -
548 -
549 -
550 543 .qcld-wp-chatbot-wrap-header-logo {
551 544 display: flex;
552 545 align-items: center;
553 546 gap: 10px;
554 -}
555 -
556 -.qcld-wp-chatbot-wrap-header_inn a.button.page-title-action {
557 - padding: 8px 15px;
558 - background: #ffffff;
559 - color: #5B4E96;
560 - border: 2px solid #5B4E96;
561 - border-radius: 6px;
562 - font-weight: bold;
563 - position: absolute;
564 - top: 30px;
565 - left: 280px;
566 - line-height: normal;
567 - min-height: unset;
568 547 }
569 -.qcld-wp-chatbot-wrap-header_inn a.button.page-title-action:hover {
570 - padding: 8px 15px;
571 - background: #5B4E96;
572 - color: #fff;
573 - border: 2px solid #5B4E96;
574 - border-radius: 6px;
575 - font-weight: bold;
576 - position: absolute;
577 - top: 30px;
578 - left: 280px;
579 -}
580 -
581 -.Expandmore {
582 - background: #23ab10;
583 - display: inline-block;
584 - padding: 4px 10px;
585 - font-size: 14px;
586 - border-radius: 6px;
587 - position: relative;
588 - top: 0;
589 -}
590 -
591 -.Collapsemore {
592 - background: #ff0000;
593 - display: inline-block;
594 - padding: 4px 10px;
595 - font-size: 14px;
596 - border-radius: 6px;
597 - position: relative;
598 - top: 0;
599 -
600 -}
601 -
602 -.Expandmore span {
603 - color: #fff;
604 - margin: 0 0 0 8px;
605 - padding: 0 5px;
606 - font-size: 18px;
607 -}
608 548 </style>
609 549
610 550 <script type="text/javascript">
611 551 jQuery(".qcld-show-more-show-more").click(function () {
612 552 if(jQuery(".qcld-show-more-text").hasClass("qcld-show-more-show-more-height")) {
613 - jQuery(this).html('<div class="Collapsemore">Collapse Options</div>');
553 + jQuery(this).html('<i class="dashicons dashicons-remove" aria-hidden="true"></i>');
614 554 } else {
615 - jQuery(this).html('<div class="Expandmore">Expand for More Options<span>+</span></div>');
555 + jQuery(this).html('<i class="dashicons dashicons-plus-alt" aria-hidden="true"></i>');
616 556 }
617 557
618 558 jQuery(".qcld-show-more-text").toggleClass("qcld-show-more-show-more-height");
619 559 });