mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
removing the plugin version constant (since its a property in the class)
fixes #49
This commit is contained in:
parent
f867e2b7f1
commit
fca27a1de2
1 changed files with 0 additions and 16 deletions
|
@ -29,22 +29,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* The following constant is used to define a constant for this plugin to make it
|
|
||||||
* easier to provide cache-busting functionality on loading stylesheets
|
|
||||||
* and JavaScript.
|
|
||||||
*
|
|
||||||
* After you've defined these constants, do a find/replace on the constants
|
|
||||||
* used throughout the rest of this file.
|
|
||||||
*/
|
|
||||||
// TODO: Replace 'PLUGIN_NAME' wih the name of your class
|
|
||||||
if ( ! defined( 'PLUGIN_NAME_VERSION' ) ) {
|
|
||||||
|
|
||||||
// TODO: Make sure that this version correspondings to the value in the 'Version' in the header
|
|
||||||
define( 'PLUGIN_NAME_VERSION', '1.0.0' );
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: replace `class-plugin-boilerplate.php` with the name of the actual plugin's class file
|
// TODO: replace `class-plugin-boilerplate.php` with the name of the actual plugin's class file
|
||||||
require_once( plugin_dir_path( __FILE__ ) . 'class-plugin-boilerplate.php' );
|
require_once( plugin_dir_path( __FILE__ ) . 'class-plugin-boilerplate.php' );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue