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 +55 -6 3.10.13.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.1
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 - Requires at least: 3.5
10 - Tested up to: 5.6
9 + Requires at least: 5.2
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,13 +143,60 @@
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 );
152 + add_filter(
153 + 'visualizer_about_us_metadata',
154 + function() {
155 + return array(
156 + 'logo' => esc_url( VISUALIZER_ABSURL . 'images/visualizer-logo.svg' ),
157 + 'location' => 'visualizer',
158 + 'has_upgrade_menu' => ! Visualizer_Module::is_pro(),
159 + 'upgrade_text' => esc_html__( 'Get Visualizer Pro', 'feedzy-rss-feeds' ),
160 + 'upgrade_link' => esc_url( tsdk_utmify( Visualizer_Plugin::PRO_TEASER_URL, 'sidebarMenuUpgrade', 'index' ) ),
161 + );
162 + }
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 + }
150 199 }
151 200
152 201 /**
153 202 * Registers with the SDK