| @@ -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 | |
| @@ -539,44 +539,12 @@ | ||
| 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 | -} | |
| 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 | 547 | } |
| 580 | 548 | </style> |
| 581 | 549 | |
| 582 | 550 | <script type="text/javascript"> |