PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 4.0.5
Visualizer – Tables & Charts Manager with Built-in AI Generator v4.0.5
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 +3 -3 4.0.74.0.5 View file →
@@ -222,9 +222,9 @@
222 222
223 223 if ( $meta ) {
224 224 foreach ( $meta as $key => $value ) {
225 225 if ( 0 === strpos( $key, 'visualizer' ) ) {
226 - add_metadata( 'post', $revision_id, $key, self::maybe_decode_content( $value[0] ) );
226 + add_metadata( 'post', $revision_id, $key, maybe_unserialize( $value[0] ) );
227 227 }
228 228 }
229 229 }
230 230 }
@@ -250,9 +250,9 @@
250 250
251 251 if ( $meta ) {
252 252 foreach ( $meta as $key => $value ) {
253 253 if ( 0 === strpos( $key, 'visualizer' ) ) {
254 - add_post_meta( $post_id, $key, self::maybe_decode_content( $value[0] ) );
254 + add_post_meta( $post_id, $key, maybe_unserialize( $value[0] ) );
255 255 }
256 256 }
257 257 }
258 258 }
@@ -436,9 +436,9 @@
436 436 'library' => array(
437 437 'filters' => $chart_types,
438 438 'types' => array_keys( $chart_types ),
439 439 ),
440 - 'nonce' => wp_create_nonce( Visualizer_Plugin::ACTION_GET_CHARTS ),
440 + 'nonce' => wp_create_nonce(),
441 441 'buildurl' => esc_url( add_query_arg( 'action', Visualizer_Plugin::ACTION_CREATE_CHART, admin_url( 'admin-ajax.php' ) ) ),
442 442 );
443 443
444 444 return $strings;