PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 4.0.2
Visualizer – Tables & Charts Manager with Built-in AI Generator v4.0.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/Module/Admin.php +4 -3 4.0.84.0.2 View file →
@@ -80,8 +80,9 @@
80 80 $this->_addAction( 'admin_menu', 'registerAdminMenu' );
81 81 $this->_addFilter( 'media_view_strings', 'setupMediaViewStrings' );
82 82 $this->_addFilter( 'plugin_action_links', 'getPluginActionLinks', 10, 2 );
83 83 $this->_addFilter( 'plugin_row_meta', 'getPluginMetaLinks', 10, 2 );
84 + $this->_addFilter( 'visualizer_logger_data', 'getLoggerData' );
84 85 $this->_addFilter( 'visualizer_feedback_review_trigger', 'feedbackReviewTrigger' );
85 86 $this->_addFilter( 'themeisle_sdk_blackfriday_data', 'add_black_friday_data' );
86 87
87 88 // screen pagination
@@ -221,9 +222,9 @@
221 222
222 223 if ( $meta ) {
223 224 foreach ( $meta as $key => $value ) {
224 225 if ( 0 === strpos( $key, 'visualizer' ) ) {
225 - add_metadata( 'post', $revision_id, $key, self::maybe_decode_content( $value[0] ) );
226 + add_metadata( 'post', $revision_id, $key, maybe_unserialize( $value[0] ) );
226 227 }
227 228 }
228 229 }
229 230 }
@@ -249,9 +250,9 @@
249 250
250 251 if ( $meta ) {
251 252 foreach ( $meta as $key => $value ) {
252 253 if ( 0 === strpos( $key, 'visualizer' ) ) {
253 - add_post_meta( $post_id, $key, self::maybe_decode_content( $value[0] ) );
254 + add_post_meta( $post_id, $key, maybe_unserialize( $value[0] ) );
254 255 }
255 256 }
256 257 }
257 258 }
@@ -435,9 +436,9 @@
435 436 'library' => array(
436 437 'filters' => $chart_types,
437 438 'types' => array_keys( $chart_types ),
438 439 ),
439 - 'nonce' => wp_create_nonce( Visualizer_Plugin::ACTION_GET_CHARTS ),
440 + 'nonce' => wp_create_nonce(),
440 441 'buildurl' => esc_url( add_query_arg( 'action', Visualizer_Plugin::ACTION_CREATE_CHART, admin_url( 'admin-ajax.php' ) ) ),
441 442 );
442 443
443 444 return $strings;