Changeset 2148795
- Timestamp:
- 08/31/2019 06:02:18 AM (7 years ago)
- Location:
- pluginpass-pro-plugintheme-licensing/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (7 diffs)
-
constants.php (modified) (1 diff)
-
inc/common/class-pluginpass-guard.php (modified) (3 diffs)
-
pluginpass.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pluginpass-pro-plugintheme-licensing/trunk/README.txt
r2147592 r2148795 4 4 Contributors: labs64 5 5 Donate link: https://www.paypal.me/labs64 6 Tags: API, license, licensing, activation, validation, license key, monetization, license-management, NetLicensing6 Tags: license manager, software license, license, activation, validation, license key, monetization, NetLicensing 7 7 Requires at least: 4.9.7 8 8 Tested up to: 5.2.2 9 9 Requires PHP: 5.6 10 Stable tag: 0.9. 410 Stable tag: 0.9.5 11 11 License: GPLv2 or later 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 == Description == 17 17 18 PluginPass is a *WordPress License Manager* that makes it easy to control the use and monetize your WordPress plugins and themes.18 PluginPass is a *WordPress License Manager* backed by [Labs64 NetLicensing](https://netlicensing.io "Software License Management") that makes it easy to control the use and monetize your WordPress plugins and themes. 19 19 20 20 The Plugin is designed to be easy-to-use, which you easily define as a dependency to your plugin or theme, so this takes care of the plugin’s & theme’s features activation and validation. … … 30 30 * Need more features? - [Let us know](https://github.com/Labs64/PluginPass/issues) 31 31 32 = Payment gateways =32 = Payment Gateways = 33 33 34 Payment gateways supported in the plugin:34 Payment Gateways supported in the plugin: 35 35 36 36 * PayPal … … 55 55 ` 56 56 57 Detailed integration instructions, NetLicensing product configuration tips and troubleshooting can be found on plugin's [Wiki page](https://github.com/Labs64/PluginPass/wiki).57 Detailed integration instructions, NetLicensing products configuration tips and troubleshooting can be found on plugin's [Wiki page](https://github.com/Labs64/PluginPass/wiki). 58 58 59 59 == Installation == 60 60 61 This section describes how to install the plugin and get it working. 61 This plugin provides an interface to the Labs64 NetLicensing license management services and needs to be installed as a dependency to the plugins & themes. 62 63 Please refer PluginPass [Wiki page](https://github.com/Labs64/PluginPass/wiki) for the configuration details. 62 64 63 65 = Minimum Requirements = … … 65 67 * WordPress 4.9.7 or greater 66 68 * PHP version 5.6 or greater 67 68 = via Upload (FTP, SCP etc.) =69 70 1. Upload the extracted archive folder 'pluginpass' to the `/wp-content/plugins/` directory71 2. Activate the plugin through the 'Plugins' menu in WordPress72 3. *(optional)* Go to "Settings > PluginPass" to adjust settings73 74 = via WordPress Admin =75 76 1. Go to "Plugins > Add New"77 2. Search for `PluginPass`78 3. Install the plugin called `PluginPass` and activate it79 4. *(optional)* Go to "Settings > PluginPass" to adjust settings80 69 81 70 == Upgrade Notice == … … 87 76 = Are recurring payments supported? = 88 77 89 Yes 90 91 = How do I adjust the Plugin Settings? = 92 93 Once you have activated the plugin you can tinker with the settings to your heart’s content. If you head to "Settings > PluginPass" and you can adjust all settings from there. 78 Yes; see Payment Gateways supported. 94 79 95 80 = Will PluginPass work with my plugin or theme? = … … 144 129 == Changelog == 145 130 131 = 0.9.5 = 132 * Update: plugin documentation 133 146 134 = 0.9.4 = 147 135 * Update: Add legal info and references to the plugin #12 -
pluginpass-pro-plugintheme-licensing/trunk/constants.php
r2147592 r2148795 8 8 define( __NAMESPACE__ . '\NS', __NAMESPACE__ . '\\' ); 9 9 10 define( NS . 'PLUGIN_VERSION', '0.9. 4' );10 define( NS . 'PLUGIN_VERSION', '0.9.5' ); 11 11 12 12 define( NS . 'PLUGIN_NAME', 'pluginpass' ); -
pluginpass-pro-plugintheme-licensing/trunk/inc/common/class-pluginpass-guard.php
r2146523 r2148795 26 26 * @param string $product_number NetLicensing product number. 27 27 * @param string $plugin_folder Relative path to single plugin folder. 28 * @param boolean $has_consent Indicate whether the author of the plugin has the user's consent to the use his personal data.29 28 * 30 29 * @throws \Exception … … 32 31 * @access public 33 32 */ 34 public function __construct( $api_key, $product_number, $plugin_folder , $has_consent = false) {33 public function __construct( $api_key, $product_number, $plugin_folder ) { 35 34 if ( ! array_key_exists( $plugin_folder, get_plugins() ) ) { 36 35 throw new \Exception( 'Plugin on path "' . $plugin_folder . '" not found' ); 37 36 } 38 37 39 $this->plugin = $this->get_plugin( [ 'product_number' => $product_number ] ); 40 $this->has_consent = $has_consent; 38 $this->plugin = $this->get_plugin( [ 'product_number' => $product_number ] ); 41 39 42 40 $data = [ … … 52 50 53 51 /** 52 * Set consent state 53 * 54 * @param bool $has_consent 55 * 56 * @return $this 57 */ 58 public function set_consent( $has_consent = true ) { 59 $this->has_consent = $has_consent; 60 61 return $this; 62 } 63 64 /** 54 65 * Indicate whether the author of the plugin has the user's consent to the use his personal data. 55 66 * @return bool -
pluginpass-pro-plugintheme-licensing/trunk/pluginpass.php
r2147592 r2148795 16 16 * Plugin URI: https://github.com/Labs64/PluginPass 17 17 * Description: WordPress Plugin/Theme Licensing powered by Labs64 NetLicensing 18 * Version: 0.9. 418 * Version: 0.9.5 19 19 * Author: Labs64 20 20 * Author URI: https://netlicensing.io
Note: See TracChangeset
for help on using the changeset viewer.