PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 3.4.2
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v3.4.2
8.7.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 All 534 releases
← All changes | includes/templates/manage-categories.php +6 -6 8.7.13.4.2 View file →
@@ -5,9 +5,9 @@
5 5 global $wpdb;
6 6
7 7 $table = $wpdb->prefix.'wpbot_response_category';
8 8
9 -$data = $wpdb->get_results($wpdb->prepare("select * from {$table}")); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter, WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare
9 +$data = $wpdb->get_results("select * from $table where 1");
10 10
11 11 ?>
12 12 <style type="text/css">
13 13 table.qcdf_table {
@@ -37,16 +37,16 @@
37 37 <div class="qcwrap">
38 38 <div class="wp-chatbot-wrap">
39 39
40 40
41 - <div class="wpbot_dashboard_header ">
41 + <div class="wpbot_dashboard_header container">
42 42 <h1>Manage STR Categories</h1>
43 43
44 44 </div>
45 45
46 - <div class="wpbot_addons_section ">
46 + <div class="wpbot_addons_section container">
47 47
48 - <a href="<?php echo esc_url( add_query_arg( 'opt', 'add', admin_url('admin.php?page=simple-text-response&action=manage-category') ) ); ?>" class="page-title-action button">Add New Category</a>
48 + <a href="<?php echo add_query_arg( 'opt', 'add', admin_url('admin.php?page=simple-text-response&action=manage-category') ); ?>" class="page-title-action button">Add New Category</a>
49 49
50 50 <div class="wpbot_single_addon_wrapper2">
51 51
52 52 <div class="dfentity_wp_table">
@@ -66,11 +66,11 @@
66 66 <tr>
67 67 <td><?php echo esc_html($result->id); ?></td>
68 68 <td><?php echo esc_html($result->name); ?></td>
69 69 <td>
70 - <a href="<?php echo esc_url( add_query_arg( 'id', $result->id, admin_url('admin.php?page=simple-text-response&action=manage-categories&opt=edit') ) ); ?>" class="page-title-action">Edit</a>
70 + <a href="<?php echo add_query_arg( 'id', $result->id, admin_url('admin.php?page=simple-text-response&action=manage-categories&opt=edit') ); ?>" class="page-title-action">Edit</a>
71 71 |
72 - <a href="<?php echo esc_url( add_query_arg( 'id', $result->id, admin_url('admin.php?page=simple-text-response&action=manage-categories&opt=delete') ) ); ?>" class="page-title-action">Delete</a>
72 + <a href="<?php echo add_query_arg( 'id', $result->id, admin_url('admin.php?page=simple-text-response&action=manage-categories&opt=delete') ); ?>" class="page-title-action">Delete</a>
73 73
74 74 </td>
75 75 </tr>
76 76 <?php endforeach; ?>