Skip to content

Commit 1a7cf1d

Browse files
authored
Merge pull request #181 from Codeinwp/new_deploy
Fixed priority issue with wp_enqueue_media Added latest version of sdk
2 parents 120ab38 + ea507f2 commit 1a7cf1d

File tree

11 files changed

+46
-42
lines changed

11 files changed

+46
-42
lines changed

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ dist
1717
artifact
1818
composer.json
1919
composer.lock
20+
key.enc

.travis.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,41 @@
11
language: php
22
php:
3-
- "7.1"
4-
- "7.0"
5-
- "5.6"
6-
- "5.5"
7-
- "5.4"
8-
- "5.3"
3+
- '7.1'
4+
- '7.0'
5+
- '5.6'
6+
- '5.5'
7+
- '5.4'
8+
- '5.3'
99
sudo: false
1010
matrix:
1111
include:
12-
- php: "5.6"
12+
- php: '5.6'
1313
install: true
1414
before_script: chmod +x bin/wraith.sh
1515
env: TEST_SUITE=Wraith_Visual_Regression_Testing WRAITH_FAIL=5
16-
script: ./bin/wraith.sh
16+
script: "./bin/wraith.sh"
1717
branches:
1818
except:
1919
- "/^*-v[0-9]/"
2020
env:
2121
matrix:
2222
- WP_VERSION=latest WP_MULTISITE=0
2323
global:
24-
- MASTER_BRANCH=master UPSTREAM_REPO=Codeinwp/visualizer STORE_URL=https://themeisle.com DEPLOY_BUILD=7.0
24+
- MASTER_BRANCH=master UPSTREAM_REPO=Codeinwp/visualizer-pro STORE_URL=https://themeisle.com
25+
DEPLOY_BUILD=7.0
2526
before_install:
26-
- mkdir -p bin && cd bin
27-
- wget "$PIRATE_FLEET"load.sh
28-
- cd .. && chmod +x bin/load.sh
29-
- ". ./bin/load.sh"
27+
- mkdir -p bin && cd bin
28+
- wget "$PIRATE_FLEET"load.sh
29+
- cd .. && chmod +x bin/load.sh
30+
- ". ./bin/load.sh"
3031
install:
3132
- chmod +x bin/install-dependencies.sh
3233
- ". ./bin/install-dependencies.sh"
3334
script:
3435
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then grunt travis; fi;
3536
before_deploy:
37+
- openssl aes-256-cbc -K $encrypted_794a7a2c76e1_key -iv $encrypted_794a7a2c76e1_iv
38+
-in key.enc -out /tmp/key -d
3639
- chmod +x bin/prepare-deploy.sh
3740
- ". ./bin/prepare-deploy.sh"
3841
deploy:
@@ -48,7 +51,7 @@ deploy:
4851
on:
4952
branch: "$MASTER_BRANCH"
5053
repo: "$UPSTREAM_REPO"
51-
condition: $TRAVIS_PHP_VERSION = $DEPLOY_BUILD
54+
condition: "$TRAVIS_PHP_VERSION = $DEPLOY_BUILD"
5255
- provider: s3
5356
access_key_id: "$AWS_ACCESS_KEY"
5457
secret_access_key: "$AWS_SECRET_KEY"
@@ -61,7 +64,7 @@ deploy:
6164
on:
6265
repo: "$UPSTREAM_REPO"
6366
branch: "$MASTER_BRANCH"
64-
condition: $TRAVIS_PHP_VERSION = $DEPLOY_BUILD
67+
condition: "$TRAVIS_PHP_VERSION = $DEPLOY_BUILD"
6568
after_deploy:
6669
- chmod +x bin/deploy.sh
6770
- ". ./bin/deploy.sh"

classes/Visualizer/Module/Admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct( Visualizer_Plugin $plugin ) {
5454
$this->_addAction( 'load-post.php', 'enqueueMediaScripts' );
5555
$this->_addAction( 'load-post-new.php', 'enqueueMediaScripts' );
5656
$this->_addAction( 'admin_footer', 'renderTempaltes' );
57-
$this->_addAction( 'admin_enqueue_scripts', 'enqueueLibraryScripts', null, 9 );
57+
$this->_addAction( 'admin_enqueue_scripts', 'enqueueLibraryScripts', null, 8 );
5858
$this->_addAction( 'admin_menu', 'registerAdminMenu' );
5959
$this->_addFilter( 'media_view_strings', 'setupMediaViewStrings' );
6060
$this->_addFilter( 'plugin_action_links', 'getPluginActionLinks', 10, 2 );

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 = '2.1.1';
31+
const VERSION = '2.1.2';
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: 2.1.1
2+
Version: 2.1.2
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: Charts and Graphs Lite
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: 2.1.1
7+
Version: 2.1.2
88
Author: Themeisle
99
Author URI: http://themeisle.com
1010
License: GPL v2.0 or later

key.enc

1.67 KB
Binary file not shown.

languages/visualizer.pot

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is distributed under the GPL v2.0 or later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Visualizer: Charts and Graphs Lite 2.1.0\n"
5+
"Project-Id-Version: Visualizer: Charts and Graphs Lite 2.1.1\n"
66
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
7-
"POT-Creation-Date: 2017-05-16 06:15:21+00:00\n"
7+
"POT-Creation-Date: 2017-05-26 11:03:14+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"
@@ -1500,6 +1500,20 @@ msgstr ""
15001500
msgid "Insert"
15011501
msgstr ""
15021502

1503+
#: vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php:453
1504+
msgid ""
1505+
"Updating this theme will lose any customizations you have made. Cancel to "
1506+
"stop, OK to update."
1507+
msgstr ""
1508+
1509+
#: vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php:200
1510+
msgid "Popular Plugin"
1511+
msgstr ""
1512+
1513+
#: vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php:201
1514+
msgid "Install"
1515+
msgstr ""
1516+
15031517
#. Plugin Name of the plugin/theme
15041518
msgid "Visualizer: Charts and Graphs Lite"
15051519
msgstr ""

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

readme.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ http://docs.themeisle.com/article/610-how-can-i-edit-the-data-manually
119119

120120
== Changelog ==
121121

122+
= 2.1.2 =
123+
* Fixed priority issue with wp_enqueue_media
124+
* Added latest version of sdk
125+
122126
= 2.1.1 =
123127
* Fixed charts bliking on some themes.
124128

0 commit comments

Comments
 (0)