The core functionality that manages all Frosty.Media licenses, settings, auto-updates and notifications. It's a required plugin for any purchases made on Frosty Media.
Download zip and install, or as a standalone include. (Download and install is required for all Frosty Media purchased plugins.
Use the function below inside your plugin you need licensed and managed.
/**
* Register our plugin for license management.
*
* @return array plugins
*/
function frosty_media_register_licensed_plugin( $plugins ) {
$plugins[] = array(
'id' => 'prefix_plugin_title', // Option title
'title' => 'Plugin Title', // Must match EDD post_title!
'version' => '1.0.0',
'file' => __FILE__,
'basename' => plugin_basename( __FILE__ ),
'download_id' => '2345', // EDD download ID!
'author' => 'Austin Passy' // Author of this plugin
);
return $plugins;
}
add_filter( 'frosty_media_add_plugin_license', 'frosty_media_register_licensed_plugin' );
Current Version:1.5.0
@todo:
- Cleanup Notifications class.
- Add a button to get all notifications (current and past).
- Force get new notifications.
- Implement common abstract (base) class for the Licenses & Notifications classes.
- Add an interface for the classes which use hooks.
- Fix lowercase class implementation of
Common
which could cause issues in core.php. - Code cleanup: dashboard.php, list-table.php.
- Only enqueue admin scripts and styles on their respected pages.
- Updated
WP_GitHub_Updater
which has not seen an update in over three years. It's now out of sync. - Implemented new icons for WordPress > 4.9's upgrade screen.
- Added new PNG and JPG icons.
- Added this License Manager plugin to the update html notice. Meaning an update bubble will show if it has an update.
- Remove overide code in Core for GitHub Link version 0.4.6.
- Fix possible JS error when installing from GitHub master or version zip.
- Update GitHub Link package to 0.4.6 to fix large dashicons in plugins page.
- Fix possible undefined array key notice in WordPress 4.9
- Update GitHub Link package to 0.4.5.
- Fixes incompatibility with PHP 5.5. Note: Version 2 will require PHP 7.
- Skips version 1.2 which had some misspelled directory changes.
- Fixes activation of License Keys on License settings page.
- Fix errors in update checks to wp.org of premium plugins.
- All files formatted to new coding standards.
- Moves classes out of
includes
directory and intosrc
. - Update EDD SL Plugin Updater package to 1.6.8.
- Update GitHub Link package to 0.4.4.
- Code rewrite and cleanup.
- Introduced namespaced code.
- Fixed messages not showing up.
- Fixed license key activation errors.
- Fix: issue #2 - unexpected T_FUNCTION (PHP versions < 5.3).
- Double check notices aren't NULL.
- Fix: licenses sending empty license_key.
- Fix: license activation update overwriting the settings array.
- Proper deactivation and reactivation of plugin after GitHub folder rename.
- Fix: GitHub issue #1.
- Rename folder if installed via GitHub zipball.
- Fix: Possible empty array in notifications on first activation.
- Added FM_Common static class.
- Cleaned up code.
- Update FM_API_URL to https.
- Updated EDD_SL_Plugin_Updater.php to version 1.5.
- Added: edd-sl-api/ enpoint to license API URL.
- Initial Release.