mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2025-01-30 22:45:35 +02:00
Merge pull request #446 from jonathanbossenger/master
Updating PLUGIN_VERSION constant. Fixes #446
This commit is contained in:
commit
7af6de6dd2
2 changed files with 3 additions and 3 deletions
|
@ -67,8 +67,8 @@ class Plugin_Name {
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
if ( defined( 'PLUGIN_VERSION' ) ) {
|
if ( defined( 'PLUGIN_NAME_VERSION' ) ) {
|
||||||
$this->version = PLUGIN_VERSION;
|
$this->version = PLUGIN_NAME_VERSION;
|
||||||
} else {
|
} else {
|
||||||
$this->version = '1.0.0';
|
$this->version = '1.0.0';
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ if ( ! defined( 'WPINC' ) ) {
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
define( 'PLUGIN_VERSION', '1.0.0' );
|
define( 'PLUGIN_NAME_VERSION', '1.0.0' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The code that runs during plugin activation.
|
* The code that runs during plugin activation.
|
||||||
|
|
Loading…
Add table
Reference in a new issue