Skip to content

Commit 022df77

Browse files
Merge pull request #449 from contactashish13/test-3.3.0
Test 3.3.0
2 parents a51a1cd + 5ba4aee commit 022df77

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

classes/Visualizer/Module/Sources.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function addProUpsell( $old, $feature = null ) {
141141
$return = '<div class="only-pro-content">';
142142
$return .= ' <div class="only-pro-container">';
143143
$return .= ' <div class="only-pro-inner">';
144-
$return .= ' <p>' . sprintf( __( 'Enable this feature in %s version!', 'visualizer' ), $plan ) . '</p>';
144+
$return .= ' <p>' . sprintf( __( 'Activate your %s version to use this feature!', 'visualizer' ), $plan ) . '</p>';
145145
$return .= ' <a target="_blank" href="' . Visualizer_Plugin::PRO_TEASER_URL . '" title="' . __( 'Buy now', 'visualizer' ) . '">' . __( 'Buy now', 'visualizer' ) . '</a>';
146146
$return .= ' </div>';
147147
$return .= ' </div>';

classes/Visualizer/Plugin.php

Lines changed: 2 additions & 2 deletions
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.2.1';
31+
const VERSION = '3.3.0';
3232

3333
// custom post types
3434
const CPT_VISUALIZER = 'visualizer';
@@ -90,7 +90,7 @@ class Visualizer_Plugin {
9090
const CF_CHART_URL = 'visualizer-chart-url';
9191
const CF_CHART_SCHEDULE = 'visualizer-chart-schedule';
9292
// Added by Ash/Upwork
93-
const PRO_TEASER_URL = 'http://themeisle.com/plugins/visualizer-charts-and-graphs-pro-addon/';
93+
const PRO_TEASER_URL = 'http://themeisle.com/plugins/visualizer-charts-and-graphs-pro-addon/#pricing';
9494
const PRO_TEASER_TITLE = 'Check PRO version ';
9595
// Added by Ash/Upwork
9696
/**

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.2.1
2+
Version: 3.3.0
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 Manager 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.2.1
7+
Version: 3.3.0
88
Author: Themeisle
99
Author URI: http://themeisle.com
1010
License: GPL v2.0 or later

js/library.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@
6565
var wnd = window,
6666
view = new vmv.Chart({action: vu.create});
6767

68+
// remove the 'type' while refreshing the library page on creation of a new chart.
69+
// this is to avoid cases where users have filtered for chart type A and end up creating chart type B
6870
wnd.send_to_editor = function () {
69-
wnd.location.href = vu.base;
71+
wnd.location.href = vu.base.replace(/type=[a-zA-Z]*/, '');
7072
};
7173
view.open();
7274

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.2.1",
3+
"version": "3.3.0",
44
"description": "Visualizer Lite",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)