From fca27a1de2156b3b3d3ad7026bbfe6dd47a943a1 Mon Sep 17 00:00:00 2001 From: Tom McFarlin Date: Mon, 13 May 2013 13:50:23 -0400 Subject: [PATCH] removing the plugin version constant (since its a property in the class) fixes #49 --- plugin-boilerplate/plugin-boilerplate.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/plugin-boilerplate/plugin-boilerplate.php b/plugin-boilerplate/plugin-boilerplate.php index 7eaf541..c002f0a 100644 --- a/plugin-boilerplate/plugin-boilerplate.php +++ b/plugin-boilerplate/plugin-boilerplate.php @@ -29,22 +29,6 @@ if ( ! defined( 'ABSPATH' ) ) { 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 require_once( plugin_dir_path( __FILE__ ) . 'class-plugin-boilerplate.php' );