PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.11.10
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.11.10
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 | index.php +39 -6 3.10.103.11.10 View file →
@@ -1,14 +1,12 @@
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.10
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.10
7 7 Author: Themeisle
8 8 Author URI: http://themeisle.com
9 - Requires at least: 5.2
10 - Tested up to: 5.6
11 9 License: GPL v2.0 or later
12 10 WordPress Available: yes
13 11 Requires License: no
14 12 Pro Slug: visualizer-pro
@@ -143,9 +141,9 @@
143 141 'themeisle_sdk_compatibilities/' . VISUALIZER_DIRNAME, function ( $compatibilities ) {
144 142 $compatibilities['VisualizerPRO'] = array(
145 143 'basefile' => defined( 'VISUALIZER_PRO_BASEFILE' ) ? VISUALIZER_PRO_BASEFILE : '',
146 144 'required' => '1.8',
147 - 'tested_up' => '1.13',
145 + 'tested_up' => '1.14',
148 146 );
149 147 return $compatibilities;
150 148 }
151 149 );
@@ -156,12 +154,47 @@
156 154 'logo' => esc_url( VISUALIZER_ABSURL . 'images/visualizer-logo.svg' ),
157 155 'location' => 'visualizer',
158 156 'has_upgrade_menu' => ! Visualizer_Module::is_pro(),
159 157 'upgrade_text' => esc_html__( 'Get Visualizer Pro', 'feedzy-rss-feeds' ),
160 - 'upgrade_link' => esc_url( tsdk_utmify( Visualizer_Plugin::PRO_TEASER_URL, 'aboutUsPage' ) ),
158 + 'upgrade_link' => esc_url( tsdk_utmify( Visualizer_Plugin::PRO_TEASER_URL, 'sidebarMenuUpgrade', 'index' ) ),
161 159 );
162 160 }
163 161 );
162 +
163 + if ( ! defined( 'TI_CYPRESS_TESTING' ) && 'yes' === get_option( 'visualizer_logger_flag', 'no' ) ) {
164 + add_filter( 'themeisle_sdk_enable_telemetry', '__return_true' );
165 + add_filter(
166 + 'themeisle_sdk_telemetry_products',
167 + function( $products ) {
168 + $already_registered = false;
169 +
170 + $license = get_option( 'visualizer_pro_license_data', 'free' );
171 + if ( ! empty( $license ) && is_object( $license ) ) {
172 + $license = $license->key;
173 + }
174 + $track_hash = 'free' === $license ? 'free' : wp_hash( $license );
175 +
176 + foreach ( $products as &$product ) {
177 + if ( strstr( $product['slug'], 'visualizer' ) !== false ) {
178 + $already_registered = true;
179 + $product['trackHash'] = $track_hash;
180 + }
181 + }
182 +
183 + if ( $already_registered ) {
184 + return $products;
185 + }
186 +
187 + // Add Visualizer to the list of products to track the usage of AI Block.
188 + $products[] = array(
189 + 'slug' => 'visualizer',
190 + 'consent' => 'yes' === get_option( 'visualizer_logger_flag', 'no' ),
191 + 'trackHash' => $track_hash,
192 + );
193 + return $products;
194 + }
195 + );
196 + }
164 197 }
165 198
166 199 /**
167 200 * Registers with the SDK