PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 2.1.8
Visualizer – Tables & Charts Manager with Built-in AI Generator v2.1.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 3.10.4 All 148 releases
← All changes | classes/Visualizer/Plugin.php +1 -23 3.0.92.1.8 View file →
@@ -27,9 +27,9 @@
27 27 */
28 28 class Visualizer_Plugin {
29 29
30 30 const NAME = 'visualizer';
31 - const VERSION = '3.0.9';
31 + const VERSION = '2.1.8';
32 32
33 33 // custom post types
34 34 const CPT_VISUALIZER = 'visualizer';
35 35
@@ -39,10 +39,8 @@
39 39 const CF_SERIES = 'visualizer-series';
40 40 const CF_DEFAULT_DATA = 'visualizer-default-data';
41 41 const CF_SETTINGS = 'visualizer-settings';
42 42
43 - const CF_SOURCE_FILTER = 'visualizer-source-filter';
44 -
45 43 // custom actions
46 44 const ACTION_GET_CHARTS = 'visualizer-get-charts';
47 45 const ACTION_CREATE_CHART = 'visualizer-create-chart';
48 46 const ACTION_EDIT_CHART = 'visualizer-edit-chart';
@@ -51,20 +49,13 @@
51 49 const ACTION_UPLOAD_DATA = 'visualizer-upload-data';
52 50 // Added by Ash/Upwork
53 51 const ACTION_EXPORT_DATA = 'visualizer-export-data';
54 52
55 - /**
56 - *Action used for fetching specific users/roles for permissions.
57 - */
58 - const ACTION_FETCH_PERMISSIONS_DATA = 'visualizer-fetch-permissions-data';
59 -
60 53 // custom filters
61 54 const FILTER_CHART_WRAPPER_CLASS = 'visualizer-chart-wrapper-class';
62 55 const FILTER_GET_CHART_SERIES = 'visualizer-get-chart-series';
63 56 const FILTER_GET_CHART_DATA = 'visualizer-get-chart-data';
64 57 const FILTER_GET_CHART_SETTINGS = 'visualizer-get-chart-settings';
65 - const FILTER_UNDO_REVISIONS = 'visualizer-undo-revisions';
66 - const FILTER_HANDLE_REVISIONS = 'visualizer-handle-revisions';
67 58
68 59 const CF_CHART_URL = 'visualizer-chart-url';
69 60 const CF_CHART_SCHEDULE = 'visualizer-chart-schedule';
70 61 // Added by Ash/Upwork
@@ -98,11 +89,8 @@
98 89 *
99 90 * @access private
100 91 */
101 92 private function __construct() {
102 - if ( VISUALIZER_DEBUG ) {
103 - add_action( 'themeisle_log_event', array( $this, 'themeisle_log_event_debug' ), 10, 5 );
104 - }
105 93 }
106 94
107 95 /**
108 96 * Returns singletone instance of the plugin.
@@ -186,17 +174,7 @@
186 174 *
187 175 * @access private
188 176 */
189 177 private function __clone() {
190 - }
191 -
192 - /**
193 - * For local testing, overrides the 'themeisle_log_event' hook and redirects to error.log.
194 - */
195 - final function themeisle_log_event_debug( $name, $message, $type, $file, $line ) {
196 - if ( Visualizer_Plugin::NAME !== $name ) {
197 - return;
198 - }
199 - error_log( sprintf( '%s (%s): %s in %s:%s', $name, $type, $message, $file, $line ) );
200 178 }
201 179
202 180 }