PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 2.1.0
Visualizer – Tables & Charts Manager with Built-in AI Generator v2.1.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/Module/Admin.php +1 -13 2.0.42.1.0 View file →
@@ -58,9 +58,8 @@
58 58 $this->_addAction( 'admin_menu', 'registerAdminMenu' );
59 59 $this->_addFilter( 'media_view_strings', 'setupMediaViewStrings' );
60 60 $this->_addFilter( 'plugin_action_links', 'getPluginActionLinks', 10, 2 );
61 61 $this->_addFilter( 'plugin_row_meta', 'getPluginMetaLinks', 10, 2 );
62 - $this->_addFilter( 'visualizer_logger_flag', 'get_logger_flag', 10, 1 );
63 62 $this->_addAjaxAction( Visualizer_Plugin::ACTION_TRACK, 'visualizer_enable_track' );
64 63 }
65 64
66 65 /**
@@ -77,19 +76,8 @@
77 76 wp_send_json_success( array( 'status' => $status ) );
78 77 }
79 78
80 79 /**
81 - * Either the tracking is active or not.
82 - *
83 - * @return bool The flag status.
84 - */
85 - public function get_logger_flag() {
86 - $flag = get_option( 'visualizer_logger_flag', 'no' );
87 -
88 - return ( $flag === 'yes' );
89 - }
90 -
91 - /**
92 80 * Enqueues media scripts and styles.
93 81 *
94 82 * @since 1.0.0
95 83 * @uses wp_enqueue_style To enqueue style file.
@@ -371,9 +359,9 @@
371 359 $settings = get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true );
372 360 unset( $settings['height'], $settings['width'] );
373 361 $type = get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true );
374 362 $series = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_SERIES, get_post_meta( $chart->ID, Visualizer_Plugin::CF_SERIES, true ), $chart->ID, $type );
375 - $data = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_DATA, unserialize( $chart->post_content ), $chart->ID, $type );
363 + $data = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_DATA, unserialize( html_entity_decode( $chart->post_content ) ), $chart->ID, $type );
376 364 // add chart to the array
377 365 $charts[ 'visualizer-' . $chart->ID ] = array(
378 366 'id' => $chart->ID,
379 367 'type' => $type,