From 5c777f361bd726059fe2708842d2d0b800be85d1 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Mon, 20 Aug 2012 19:19:39 -0500 Subject: [PATCH] Rename inc/ to lib/ --- README.md | 2 +- functions.php | 20 ++++++++++---------- {inc => lib}/actions.php | 0 {inc => lib}/activation.php | 0 {inc => lib}/cleanup.php | 0 {inc => lib}/config.php | 0 {inc => lib}/custom.php | 0 {inc => lib}/h5bp-htaccess | 0 {inc => lib}/htaccess.php | 0 {inc => lib}/scripts.php | 0 {inc => lib}/template-tags.php | 0 {inc => lib}/utils.php | 0 {inc => lib}/widgets.php | 0 13 files changed, 11 insertions(+), 11 deletions(-) rename {inc => lib}/actions.php (100%) rename {inc => lib}/activation.php (100%) rename {inc => lib}/cleanup.php (100%) rename {inc => lib}/config.php (100%) rename {inc => lib}/custom.php (100%) rename {inc => lib}/h5bp-htaccess (100%) rename {inc => lib}/htaccess.php (100%) rename {inc => lib}/scripts.php (100%) rename {inc => lib}/template-tags.php (100%) rename {inc => lib}/utils.php (100%) rename {inc => lib}/widgets.php (100%) diff --git a/README.md b/README.md index d3d3e1f..701190d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Roots is a starting WordPress theme made for developers that’s based on [HTML5 ## Configuration -Edit `inc/config.php` to enable support for major functionality and to define constants that are used throughout the theme. +Edit `lib/config.php` to enable support for major functionality and to define constants that are used throughout the theme. ## Features diff --git a/functions.php b/functions.php index b586bfc..8c4ee29 100644 --- a/functions.php +++ b/functions.php @@ -5,16 +5,16 @@ if (!defined('__DIR__')) { define('__DIR__', dirname(__FILE__)); } -require_once locate_template('/inc/utils.php'); // Utility functions -require_once locate_template('/inc/config.php'); // Configuration and constants -require_once locate_template('/inc/activation.php'); // Theme activation -require_once locate_template('/inc/template-tags.php'); // Template tags -require_once locate_template('/inc/cleanup.php'); // Cleanup -require_once locate_template('/inc/scripts.php'); // Scripts and stylesheets -require_once locate_template('/inc/htaccess.php'); // Rewrites for assets, H5BP .htaccess -require_once locate_template('/inc/actions.php'); // Actions -require_once locate_template('/inc/widgets.php'); // Sidebars and widgets -require_once locate_template('/inc/custom.php'); // Custom functions +require_once locate_template('/lib/utils.php'); // Utility functions +require_once locate_template('/lib/config.php'); // Configuration and constants +require_once locate_template('/lib/activation.php'); // Theme activation +require_once locate_template('/lib/template-tags.php'); // Template tags +require_once locate_template('/lib/cleanup.php'); // Cleanup +require_once locate_template('/lib/scripts.php'); // Scripts and stylesheets +require_once locate_template('/lib/htaccess.php'); // Rewrites for assets, H5BP .htaccess +require_once locate_template('/lib/actions.php'); // Actions +require_once locate_template('/lib/widgets.php'); // Sidebars and widgets +require_once locate_template('/lib/custom.php'); // Custom functions function roots_setup() { diff --git a/inc/actions.php b/lib/actions.php similarity index 100% rename from inc/actions.php rename to lib/actions.php diff --git a/inc/activation.php b/lib/activation.php similarity index 100% rename from inc/activation.php rename to lib/activation.php diff --git a/inc/cleanup.php b/lib/cleanup.php similarity index 100% rename from inc/cleanup.php rename to lib/cleanup.php diff --git a/inc/config.php b/lib/config.php similarity index 100% rename from inc/config.php rename to lib/config.php diff --git a/inc/custom.php b/lib/custom.php similarity index 100% rename from inc/custom.php rename to lib/custom.php diff --git a/inc/h5bp-htaccess b/lib/h5bp-htaccess similarity index 100% rename from inc/h5bp-htaccess rename to lib/h5bp-htaccess diff --git a/inc/htaccess.php b/lib/htaccess.php similarity index 100% rename from inc/htaccess.php rename to lib/htaccess.php diff --git a/inc/scripts.php b/lib/scripts.php similarity index 100% rename from inc/scripts.php rename to lib/scripts.php diff --git a/inc/template-tags.php b/lib/template-tags.php similarity index 100% rename from inc/template-tags.php rename to lib/template-tags.php diff --git a/inc/utils.php b/lib/utils.php similarity index 100% rename from inc/utils.php rename to lib/utils.php diff --git a/inc/widgets.php b/lib/widgets.php similarity index 100% rename from inc/widgets.php rename to lib/widgets.php