PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.1.2
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.1.2
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 | classes/Visualizer/Gutenberg/Block.php +5 -7 3.1.33.1.2 View file →
@@ -85,9 +85,9 @@
85 85
86 86 if ( VISUALIZER_PRO ) {
87 87 $type = 'pro';
88 88 if ( apply_filters( 'visualizer_is_business', false ) ) {
89 - $type = 'developer';
89 + $type = 'business';
90 90 }
91 91 }
92 92
93 93 $translation_array = array(
@@ -120,15 +120,13 @@
120 120 /**
121 121 * Gutenberg Block Callback Function
122 122 */
123 123 public function gutenberg_block_callback( $attr ) {
124 - if ( isset( $attr['id'] ) ) {
125 - $id = $attr['id'];
126 - if ( empty( $id ) || $id === 'none' ) {
127 - return ''; // no id = no fun
128 - }
129 - return '[visualizer id="' . $id . '"]';
124 + $id = $attr['id'];
125 + if ( empty( $id ) || $id === 'none' ) {
126 + return ''; // no id = no fun
130 127 }
128 + return '[visualizer id="' . $id . '"]';
131 129 }
132 130
133 131 /**
134 132 * Hook server side rendering into render callback