| @@ -5,9 +5,9 @@ | ||
| 5 | 5 | exit; |
| 6 | 6 | } |
| 7 | 7 | global $wpdb; |
| 8 | 8 | $tableuser = $wpdb->prefix.'wpbot_sessions'; |
| 9 | -$session_exists = $wpdb->get_row($wpdb->prepare("select * from {$tableuser} where 1 and id = %d",1)); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter | |
| 9 | +$session_exists = $wpdb->get_row($wpdb->prepare("select * from $tableuser where 1 and id = %d",1)); //DB Call OK, No Caching OK | |
| 10 | 10 | |
| 11 | 11 | if(!empty($session_exists)){ |
| 12 | 12 | $total_session = $session_exists->session; |
| 13 | 13 | }else{ |
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | |
| 21 | 21 | <div class="wp-chatbot-wrap"> |
| 22 | 22 | |
| 23 | 23 | |
| 24 | - <div class="wpbot_dashboard_header"><h1><?php esc_html_e('WPBot Dashboard', 'chatbot'); ?></h1> <p><strong>Core Version:</strong> v<?php echo esc_html( QCLD_wpCHATBOT_VERSION ); ?></p></div> | |
| 24 | + <div class="wpbot_dashboard_header"><h1><?php esc_html_e('WPBot Dashboard', 'chatbot'); ?></h1> <p><strong>Core Version:</strong> v<?php echo QCLD_wpCHATBOT_VERSION; ?></p></div> | |
| 25 | 25 | <div class="wpbot_addons_section qcld-main-wrapper"> |
| 26 | 26 | <div class="wpbot_single_addon_wrapper"> |
| 27 | 27 | |
| 28 | 28 | |