Browse files

Create a "deprecated" file, and move our unused constants there

  • Loading branch information...
1 parent c4ec85f commit f78c6e4d677c882107bbeca26fe484bbf29c4fb0 @danielbachhuber danielbachhuber committed Dec 23, 2013
Showing with 8 additions and 3 deletions.
  1. +1 −3 co-authors-plus.php
  2. +7 −0 deprecated.php
View
4 co-authors-plus.php
@@ -26,10 +26,8 @@
define( 'COAUTHORS_PLUS_VERSION', '3.0.6' );
-define( 'COAUTHORS_PLUS_PATH', dirname( __FILE__ ) );
-define( 'COAUTHORS_PLUS_URL', plugin_dir_url( __FILE__ ) );
-
require_once( dirname( __FILE__ ) . '/template-tags.php' );
+require_once( dirname( __FILE__ ) . '/deprecated.php' );
require_once( dirname( __FILE__ ) . '/php/class-coauthors-template-filters.php' );
View
7 deprecated.php
@@ -0,0 +1,7 @@
+<?php
+
+/**
+ * Constants
+ */
+define( 'COAUTHORS_PLUS_PATH', dirname( __FILE__ ) );
+define( 'COAUTHORS_PLUS_URL', plugin_dir_url( __FILE__ ) );

0 comments on commit f78c6e4

Please sign in to comment.