Add globals and simplify gettext filter

This commit is contained in:
Takumi
2013-07-25 16:42:03 +10:00
parent 3f82e5c72c
commit 16fc3a5bb9
8 changed files with 69 additions and 46 deletions

View File

@@ -21,12 +21,12 @@ if ( !function_exists( 'add_action' ) ) {
define( 'SPORTSPRESS_VERSION', '0.1' );
define( 'SPORTSPRESS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
// Globals
include dirname( __FILE__ ) . '/globals.php' ;
// Helpers
require_once dirname( __FILE__ ) . '/helpers.php';
// Defaults
include dirname( __FILE__ ) . '/defaults.php' ;
// Settings
include dirname( __FILE__ ) . '/settings.php' ;