updating license

This commit is contained in:
2022-09-30 13:09:37 -06:00
parent c27902fda1
commit 6f8e86c319
2 changed files with 609 additions and 296 deletions

View File

@ -8,19 +8,19 @@ use eftec\bladeone\BladeOne;
*
* @package BoilerplatePluginv2
* @author Plugin Author
* @copyright GPL v2
* @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
* @copyright GPLv3
* @license https://www.gnu.org/licenses/gpl-3.0.en.html
*
* @wordpress-plugin
* Plugin Name: Boilerplate Plugin v2
* Description: Your plugin description.
* License: GPL v2
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
* License: GPLv3
* License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
* Plugin URI: https://domain.com
* Update URI: https://example.com/my-plugin/
* Version: 1.0.0
* Requires at least: 5.2
* Requires PHP: 7.3.0
* Requires at least: 8.0.2
* Requires PHP: 8.0
* Author: Plugin Author
* Author URI: https://plugin-author.com
* Text Domain: nmsp-plugin-name-text-domain
@ -38,21 +38,20 @@ if ( ! defined( 'ABSPATH' ) ) {
* Rename this for your plugin and update it as you release new versions.
*/
if ( ! defined( 'PLUGIN_NAME_VERSION' ) ) {
define( 'PLUGIN_NAME_VERSION', '1.0.0' );
define( 'PLUGIN_NAME_VERSION', '1.0.0' );
}
if ( ! defined( 'PLUGIN_NAME_DB_VERSION' ) ) {
define( 'PLUGIN_NAME_DB_VERSION', '1.0.0' );
define( 'PLUGIN_NAME_DB_VERSION', '1.0.0' );
}
if ( ! defined('NMSP_PLUGIN_BASE_DIR') ) {
define( 'NMSP_PLUGIN_BASE_DIR', __DIR__ );
if ( ! defined( 'NMSP_PLUGIN_BASE_DIR' ) ) {
define( 'NMSP_PLUGIN_BASE_DIR', __DIR__ );
}
if ( ! defined('NMSP_PLUGIN_BASE_FILE') ) {
define( 'NMSP_PLUGIN_BASE_FILE', __FILE__ );
if ( ! defined( 'NMSP_PLUGIN_BASE_FILE' ) ) {
define( 'NMSP_PLUGIN_BASE_FILE', __FILE__ );
}
require_once __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/bootstrap.php';
@ -66,4 +65,4 @@ $blade = new BladeOne( __DIR__ . '/templates', __DIR__ . '/cache/blade' );
register_activation_hook( __FILE__, array( App::class, 'plugin_activation' ) );
register_deactivation_hook( __FILE__, array( App::class, 'plugin_deactivation' ) );
nmsp_plugin_app()->load_blade( $blade );
App::get_instance()->load_blade( $blade );