Skip to content

Commit ac3262e

Browse files
authored
Merge pull request #4 from WisdmLabs/dev
Dev to Master
2 parents b4360d5 + 9dff2c3 commit ac3262e

File tree

99 files changed

+2673
-1913
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+2673
-1913
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"yahnis-elsts/plugin-update-checker": "^4.6"
4+
}
5+
}

composer.lock

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22
/**
3-
* Plugin Name: Epitrove Helper (Beta 2)
3+
* Plugin Name: Epitrove Helper
44
* Plugin URI: http://wisdmlabs.com
55
* Description: Licensing addon for all epitrove products.
6-
* Version: 0.1.0
6+
* Version: 1.0
77
* Author: WisdmLabs
88
* Author URI: http://wisdmlabs.com/
99
* License: GPL-2.0+
@@ -17,21 +17,23 @@
1717
die;
1818
}
1919

20+
require_once __DIR__ . '/vendor/autoload.php';
21+
2022
function run_epitrove_helper()
2123
{
24+
require plugin_dir_path(__FILE__).'includes/entities/class-epitrove-product.php';
2225
require plugin_dir_path(__FILE__).'includes/class-epitrove-license.php';
2326
new \Licensing\EpitroveLicense();
24-
// $plugin->run();
2527
}
28+
2629
run_epitrove_helper();
2730

2831
// Check updates for epitrove-helper addon
29-
require 'addon-updater/plugin-update-checker.php';
30-
$addon_updater = Puc_v4_Factory::buildUpdateChecker(
31-
'https://github.com/WisdmLabs/epitrove-helper-addon',
32+
33+
$addOnUpdater = Puc_v4_Factory::buildUpdateChecker(
34+
'https://github.com/WisdmLabs/epitrove-helper',
3235
__FILE__,
33-
'epitrove-helper-addon'
36+
'epitrove-helper'
3437
);
3538

36-
//Optional: Set the branch that contains the stable release.
37-
// $addon_updater->setBranch('stable-branch-name');
39+
$addOnUpdater->setBranch('master');

epitrove-helper/addon-updater/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

epitrove-helper/addon-updater/plugin-update-checker.php

Lines changed: 0 additions & 24 deletions
This file was deleted.

epitrove-helper/assets/css/wdm-license.css

Lines changed: 0 additions & 103 deletions
This file was deleted.
-17.8 KB
Binary file not shown.

epitrove-helper/assets/js/wdm-license.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

epitrove-helper/includes/assets/css/admin.css

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)