| @@ -77,9 +77,8 @@ | ||
| 77 | 77 | if ( isset( $_GET['s'] ) && strlen( $_GET['s'] ) > 0 ) { |
| 78 | 78 | $filterBy = filter_input( INPUT_GET, 's', FILTER_SANITIZE_STRING ); |
| 79 | 79 | } |
| 80 | 80 | // Added by Ash/Upwork |
| 81 | - echo $this->custom_css; | |
| 82 | 81 | echo '<div id="visualizer-types" class="visualizer-clearfix">'; |
| 83 | 82 | echo '<ul class="subsubsub">'; |
| 84 | 83 | foreach ( $this->types as $type => $array ) { |
| 85 | 84 | if ( ! is_array( $array ) ) { |
| @@ -174,10 +173,9 @@ | ||
| 174 | 173 | array( |
| 175 | 174 | 'action' => Visualizer_Plugin::ACTION_DELETE_CHART, |
| 176 | 175 | 'nonce' => wp_create_nonce(), |
| 177 | 176 | 'chart' => $chart_id, |
| 178 | - ), | |
| 179 | - $ajax_url | |
| 177 | + ), $ajax_url | |
| 180 | 178 | ); |
| 181 | 179 | $clone_url = add_query_arg( |
| 182 | 180 | array( |
| 183 | 181 | 'action' => Visualizer_Plugin::ACTION_CLONE_CHART, |
| @@ -183,10 +181,9 @@ | ||
| 183 | 181 | 'action' => Visualizer_Plugin::ACTION_CLONE_CHART, |
| 184 | 182 | 'nonce' => wp_create_nonce( Visualizer_Plugin::ACTION_CLONE_CHART ), |
| 185 | 183 | 'chart' => $chart_id, |
| 186 | 184 | 'type' => $this->type, |
| 187 | - ), | |
| 188 | - $ajax_url | |
| 185 | + ), $ajax_url | |
| 189 | 186 | ); |
| 190 | 187 | $export_link = add_query_arg( |
| 191 | 188 | array( |
| 192 | 189 | 'action' => Visualizer_Plugin::ACTION_EXPORT_DATA, |
| @@ -191,10 +188,9 @@ | ||
| 191 | 188 | array( |
| 192 | 189 | 'action' => Visualizer_Plugin::ACTION_EXPORT_DATA, |
| 193 | 190 | 'chart' => $chart_id, |
| 194 | 191 | 'security' => wp_create_nonce( Visualizer_Plugin::ACTION_EXPORT_DATA . Visualizer_Plugin::VERSION ), |
| 195 | - ), | |
| 196 | - admin_url( 'admin-ajax.php' ) | |
| 192 | + ), admin_url( 'admin-ajax.php' ) | |
| 197 | 193 | ); |
| 198 | 194 | echo '<div class="visualizer-chart"><div class="visualizer-chart-title">', esc_html( $title ), '</div>'; |
| 199 | 195 | echo '<div id="', $placeholder_id, '" class="visualizer-chart-canvas">'; |
| 200 | 196 | echo '<img src="', VISUALIZER_ABSURL, 'images/ajax-loader.gif" class="loader">'; |