Use short array syntax

This commit is contained in:
Ben Word
2015-01-18 16:45:18 -06:00
parent 747882c85e
commit a903e08b86
13 changed files with 40 additions and 39 deletions

View File

@@ -9,7 +9,7 @@
*
* @link https://github.com/roots/sage/pull/1042
*/
$sage_includes = array(
$sage_includes = [
'lib/utils.php', // Utility functions
'lib/init.php', // Initial theme setup and constants
'lib/wrapper.php', // Theme wrapper class
@@ -20,7 +20,7 @@ $sage_includes = array(
'lib/nav.php', // Custom nav modifications
'lib/gallery.php', // Custom [gallery] modifications
'lib/extras.php', // Custom functions
);
];
foreach ($sage_includes as $file) {
if (!$filepath = locate_template($file)) {