PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.11.7
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.11.7
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 | index.php +43 -6 3.10.43.11.7 View file →
@@ -1,14 +1,14 @@
1 1 <?php
2 2 /*
3 3 Plugin Name: Visualizer: Tables and Charts for WordPress
4 4 Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs/
5 - Description: A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages. The plugin uses Google Visualization API to render charts, which supports cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases.
6 - Version: 3.10.4
5 + Description: Effortlessly create and embed responsive charts and tables with Visualizer, a powerful WordPress plugin that enhances data presentation from multiple sources.
6 + Version: 3.11.7
7 7 Author: Themeisle
8 8 Author URI: http://themeisle.com
9 9 Requires at least: 5.2
10 - Tested up to: 5.6
10 + Tested up to: 6.6
11 11 License: GPL v2.0 or later
12 12 WordPress Available: yes
13 13 Requires License: no
14 14 Pro Slug: visualizer-pro
@@ -72,9 +72,11 @@
72 72 define( 'VISUALIZER_DIRNAME', basename( VISUALIZER_ABSPATH ) );
73 73 define( 'VISUALIZER_REST_VERSION', 1 );
74 74 // if the below is true, then the js/customization.js in the plugin folder will be used instead of the one in the uploads folder (if it exists).
75 75 // this is also used in Block.php
76 - define( 'VISUALIZER_TEST_JS_CUSTOMIZATION', false );
76 + if ( ! defined( 'VISUALIZER_TEST_JS_CUSTOMIZATION' ) ) {
77 + define( 'VISUALIZER_TEST_JS_CUSTOMIZATION', false );
78 + }
77 79
78 80 if ( ! defined( 'VISUALIZER_CSV_DELIMITER' ) ) {
79 81 define( 'VISUALIZER_CSV_DELIMITER', ',' );
80 82 }
@@ -141,9 +143,9 @@
141 143 'themeisle_sdk_compatibilities/' . VISUALIZER_DIRNAME, function ( $compatibilities ) {
142 144 $compatibilities['VisualizerPRO'] = array(
143 145 'basefile' => defined( 'VISUALIZER_PRO_BASEFILE' ) ? VISUALIZER_PRO_BASEFILE : '',
144 146 'required' => '1.8',
145 - 'tested_up' => '1.13',
147 + 'tested_up' => '1.14',
146 148 );
147 149 return $compatibilities;
148 150 }
149 151 );
@@ -154,12 +156,47 @@
154 156 'logo' => esc_url( VISUALIZER_ABSURL . 'images/visualizer-logo.svg' ),
155 157 'location' => 'visualizer',
156 158 'has_upgrade_menu' => ! Visualizer_Module::is_pro(),
157 159 'upgrade_text' => esc_html__( 'Get Visualizer Pro', 'feedzy-rss-feeds' ),
158 - 'upgrade_link' => esc_url( tsdk_utmify( Visualizer_Plugin::PRO_TEASER_URL, 'aboutUsPage' ) ),
160 + 'upgrade_link' => esc_url( tsdk_utmify( Visualizer_Plugin::PRO_TEASER_URL, 'sidebarMenuUpgrade', 'index' ) ),
159 161 );
160 162 }
161 163 );
164 +
165 + if ( ! defined( 'TI_CYPRESS_TESTING' ) && 'yes' === get_option( 'visualizer_logger_flag', 'no' ) ) {
166 + add_filter( 'themeisle_sdk_enable_telemetry', '__return_true' );
167 + add_filter(
168 + 'themeisle_sdk_telemetry_products',
169 + function( $products ) {
170 + $already_registered = false;
171 +
172 + $license = get_option( 'visualizer_pro_license_data', 'free' );
173 + if ( ! empty( $license ) && is_object( $license ) ) {
174 + $license = $license->key;
175 + }
176 + $track_hash = 'free' === $license ? 'free' : wp_hash( $license );
177 +
178 + foreach ( $products as &$product ) {
179 + if ( strstr( $product['slug'], 'visualizer' ) !== false ) {
180 + $already_registered = true;
181 + $product['trackHash'] = $track_hash;
182 + }
183 + }
184 +
185 + if ( $already_registered ) {
186 + return $products;
187 + }
188 +
189 + // Add Visualizer to the list of products to track the usage of AI Block.
190 + $products[] = array(
191 + 'slug' => 'visualizer',
192 + 'consent' => 'yes' === get_option( 'visualizer_logger_flag', 'no' ),
193 + 'trackHash' => $track_hash,
194 + );
195 + return $products;
196 + }
197 + );
198 + }
162 199 }
163 200
164 201 /**
165 202 * Registers with the SDK