From 4d629b53238b101f71e718f4c41de45997298a69 Mon Sep 17 00:00:00 2001 From: Geert De Deckere Date: Mon, 19 Aug 2013 08:47:32 +0200 Subject: [PATCH] Storing plugin version in a class constant --- plugin-name/class-plugin-name.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin-name/class-plugin-name.php b/plugin-name/class-plugin-name.php index 8d6111a..863c253 100644 --- a/plugin-name/class-plugin-name.php +++ b/plugin-name/class-plugin-name.php @@ -24,9 +24,9 @@ class Plugin_Name { * * @since 1.0.0 * - * @var string + * @const string */ - protected $version = '1.0.0'; + const VERSION = '1.0.0'; /** * Unique identifier for your plugin.