Rename to Sage

This commit is contained in:
Ben Word
2015-01-09 20:48:11 -06:00
parent eaf4d7b73b
commit 030c084134
29 changed files with 198 additions and 201 deletions

View File

@@ -1,15 +1,15 @@
<?php
/**
* Roots includes
* Sage includes
*
* The $roots_includes array determines the code library included in your theme.
* The $sage_includes array determines the code library included in your theme.
* Add or remove files to the array as needed. Supports child theme overrides.
*
* Please note that missing files will produce a fatal error.
*
* @link https://github.com/roots/roots/pull/1042
* @link https://github.com/roots/sage/pull/1042
*/
$roots_includes = array(
$sage_includes = array(
'lib/utils.php', // Utility functions
'lib/init.php', // Initial theme setup and constants
'lib/wrapper.php', // Theme wrapper class
@@ -23,9 +23,9 @@ $roots_includes = array(
'lib/extras.php', // Custom functions
);
foreach ($roots_includes as $file) {
foreach ($sage_includes as $file) {
if (!$filepath = locate_template($file)) {
trigger_error(sprintf(__('Error locating %s for inclusion', 'roots'), $file), E_USER_ERROR);
trigger_error(sprintf(__('Error locating %s for inclusion', 'sage'), $file), E_USER_ERROR);
}
require_once $filepath;