Skip to content

Commit f5d27ab

Browse files
Release
[Fix] Option to edit charts imported from JSON
2 parents ee2f46e + 3b9e91d commit f5d27ab

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

classes/Visualizer/Module/Chart.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,9 @@ public function uploadData() {
10621062
// delete editor related data.
10631063
delete_post_meta( $chart_id, Visualizer_Plugin::CF_EDITOR );
10641064

1065+
// delete this so that a JSON import can be later edited manually without a problem.
1066+
delete_post_meta( $chart_id, Visualizer_Plugin::CF_EDITABLE_TABLE );
1067+
10651068
$source = null;
10661069
$render = new Visualizer_Render_Page_Update();
10671070
if ( isset( $_POST['remote_data'] ) && filter_var( $_POST['remote_data'], FILTER_VALIDATE_URL ) ) {

classes/Visualizer/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
class Visualizer_Plugin {
2929

3030
const NAME = 'visualizer';
31-
const VERSION = '3.4.7';
31+
const VERSION = '3.4.8';
3232

3333
// custom post types
3434
const CPT_VISUALIZER = 'visualizer';

css/media.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Version: 3.4.7
2+
Version: 3.4.8
33
*/
44
#visualizer-library-view {
55
padding: 30px 10px 10px 30px;

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin Name: Visualizer: Tables and Charts for WordPress
55
Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs-lite/
66
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.
7-
Version: 3.4.7
7+
Version: 3.4.8
88
Author: Themeisle
99
Author URI: http://themeisle.com
1010
License: GPL v2.0 or later

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "visualizer",
3-
"version": "3.4.7",
3+
"version": "3.4.8",
44
"description": "Visualizer Lite",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)