| @@ -2378,9 +2378,9 @@ | ||
| 2378 | 2378 | global $wpdb; |
| 2379 | 2379 | |
| 2380 | 2380 | //To Do: Need to use prepared statement |
| 2381 | 2381 | |
| 2382 | - $results = $wpdb->get_results($wpdb->prepare("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type=%s",'primary')); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter | |
| 2382 | + $results = $wpdb->get_results($wpdb->prepare("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type=%s",'primary')); //DB Call OK, No Caching OK. | |
| 2383 | 2383 | if(!empty($results)){ |
| 2384 | 2384 | ?> |
| 2385 | 2385 | <p><?php esc_html_e('Conversational Form', 'chatbot'); ?></p> |
| 2386 | 2386 | <ul> |