PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.7.9
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.7.9
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 3.10.4 All 148 releases
← All changes | classes/Visualizer/Gutenberg/Block.php +3 -7 3.10.03.7.9 View file →
@@ -104,9 +104,9 @@
104 104 $table_col_mapping = Visualizer_Source_Query_Params::get_all_db_tables_column_mapping( null, false );
105 105
106 106 $translation_array = array(
107 107 'isPro' => $type,
108 - 'proTeaser' => tsdk_utmify( Visualizer_Plugin::PRO_TEASER_URL, 'blockupsell'),
108 + 'proTeaser' => Visualizer_Plugin::PRO_TEASER_URL,
109 109 'absurl' => VISUALIZER_ABSURL,
110 110 'charts' => Visualizer_Module_Admin::_getChartTypesLocalized(),
111 111 'adminPage' => menu_page_url( 'visualizer', false ),
112 112 'sqlTable' => $table_col_mapping,
@@ -749,14 +749,10 @@
749 749 if ( ! current_user_can( 'edit_posts' ) ) {
750 750 return false;
751 751 }
752 752
753 - $remote_data = false;
754 - if ( isset( $data['url'] ) && function_exists( 'wp_http_validate_url' ) ) {
755 - $remote_data = wp_http_validate_url( $data['url'] );
756 - }
757 - if ( false !== $remote_data && ! is_wp_error( $remote_data ) ) {
758 - $source = new Visualizer_Source_Csv_Remote( $remote_data );
753 + if ( $data['url'] && ! is_wp_error( $data['url'] ) && filter_var( $data['url'], FILTER_VALIDATE_URL ) ) {
754 + $source = new Visualizer_Source_Csv_Remote( $data['url'] );
759 755 if ( $source->fetch() ) {
760 756 $temp = $source->getData();
761 757 if ( is_string( $temp ) && is_array( unserialize( $temp ) ) ) {
762 758 $content['series'] = $source->getSeries();