PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 1.6.0
Visualizer – Tables & Charts Manager with Built-in AI Generator v1.6.0
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | classes/Visualizer/Render/Library.php +2 -3 1.5.61.6.0 View file →
@@ -90,9 +90,8 @@
90 90 $filterBy = null;
91 91 if(isset($_GET["filter"]) && strlen($_GET["filter"]) > 0){
92 92 $filterBy = filter_input( INPUT_GET, "filter", FILTER_SANITIZE_STRING );
93 93 }
94 - $action = $_SERVER["REQUEST_URI"];
95 94 echo '<div id="visualizer-search"><form action="" method="get">
96 95 <input type="text" name="filter" value="' . $filterBy . '">
97 96 <input type="hidden" name="page" value="visualizer">
98 97 <input type="submit" class="button button-secondary" value="' . esc_attr__('Search', Visualizer_Plugin::NAME) . '">
@@ -103,13 +102,13 @@
103 102 echo '<ul>';
104 103 foreach ( $this->types as $type => $label ) {
105 104 echo '<li class="visualizer-list-item">';
106 105 if ( $type == $this->type ) {
107 - echo '<a class="page-numbers current" href="', add_query_arg( 'vpage', false ), '">';
106 + echo '<a class="page-numbers current" href="', esc_url(add_query_arg( 'vpage', false )), '">';
108 107 echo $label;
109 108 echo '</a>';
110 109 } else {
111 - echo '<a class="page-numbers" href="', add_query_arg( array( 'type' => $type, 'vpage' => false ) ), '">';
110 + echo '<a class="page-numbers" href="', esc_url(add_query_arg( array( 'type' => $type, 'vpage' => false ) )), '">';
112 111 echo $label;
113 112 echo '</a>';
114 113 }
115 114 echo '</li>';