File tree Expand file tree Collapse file tree 5 files changed +62
-3
lines changed Expand file tree Collapse file tree 5 files changed +62
-3
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,7 @@ package.json
12
12
bin
13
13
tests
14
14
phpunit.xml
15
- npm-debug.log
15
+ npm-debug.log
16
+ dist
17
+ artifact
18
+ composer
Original file line number Diff line number Diff line change 1
1
.idea
2
2
node_modules
3
3
logs
4
-
4
+ dist
5
+ artifact
6
+ vendor
7
+ composer.lock
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " codeinwp/easy-content-types" ,
3
+ "description" : " Visualizer for WordPress." ,
4
+ "keywords" : [
5
+ " wordpress" ,
6
+ " charts" ,
7
+ " visualization"
8
+ ],
9
+ "repositories" : [
10
+ {
11
+ "type" : " vcs" ,
12
+ "url" : " https://github.com/Codeinwp/themeisle-sdk"
13
+ }
14
+ ],
15
+ "homepage" : " https://themeisle.com/plugins/visualizer/" ,
16
+ "license" : " GPL-2.0+" ,
17
+ "authors" : [
18
+ {
19
+ "name" : " ThemeIsle Team" ,
20
+
21
+ "homepage" : " https://themeisle.com"
22
+ }
23
+ ],
24
+ "type" : " wordpress-plugin" ,
25
+ "support" : {
26
+ "issues" : " https://github.com/Codeinwp/visualizer/issues" ,
27
+ "source" : " https://github.com/Codeinwp/visualizer"
28
+ },
29
+ "require" : {
30
+ "codeinwp/themeisle-sdk" : " master" ,
31
+ "xrstf/composer-php52" : " ^1.0.20"
32
+ },
33
+ "minimum-stability" : " dev" ,
34
+ "prefer-stable" : true ,
35
+ "scripts" : {
36
+ "post-install-cmd" : [
37
+ " xrstf\\ Composer52\\ Generator::onPostInstallCmd"
38
+ ],
39
+ "post-update-cmd" : [
40
+ " xrstf\\ Composer52\\ Generator::onPostInstallCmd"
41
+ ],
42
+ "post-autoload-dump" : [
43
+ " xrstf\\ Composer52\\ Generator::onPostInstallCmd"
44
+ ]
45
+ }
46
+ }
Original file line number Diff line number Diff line change 8
8
Author: Themeisle
9
9
Author URI: http://themeisle.com
10
10
License: GPL v2.0 or later
11
+ WordPress Available: yes
12
+ Requires License: no
11
13
License URI: http://www.opensource.org/licenses/gpl-license.php
12
14
*/
13
15
@@ -105,8 +107,12 @@ function visualizer_launch() {
105
107
// set frontend modules
106
108
$ plugin ->setModule ( Visualizer_Module_Frontend::NAME );
107
109
}
110
+ $ vendor_file = VISUALIZER_ABSPATH . '/vendor/autoload_52.php ' ;
111
+ if ( is_readable ( $ vendor_file ) ) {
112
+ require_once $ vendor_file ;
113
+ ThemeIsle_SDK_Loader::init_product ( VISUALIZER_BASEFILE );
114
+ }
108
115
}
109
-
110
116
// register autoloader function
111
117
spl_autoload_register ( 'visualizer_autoloader ' );
112
118
Original file line number Diff line number Diff line change 10
10
" wordpress-plugin"
11
11
],
12
12
"textdomain" : " visualizer" ,
13
+ "category" : " plugins" ,
13
14
"author" :
" ThemeIsle <[email protected] >" ,
14
15
"license" : " GPL-2.0+" ,
15
16
"bugs" : {
You can’t perform that action at this time.
0 commit comments