From 6820d73ee669b39742b4941aef025dcdfc774b50 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Mon, 4 Jan 2010 19:58:38 -0500 Subject: [PATCH] change loading order of classes --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index fc730c3..6a1afd9 100644 --- a/functions.php +++ b/functions.php @@ -270,7 +270,7 @@ if ($comicpress_options['remove_wptexturize']) { $dirs_to_search = array_unique(array(get_template_directory(), get_stylesheet_directory())); $__comicpress_handlable_classes = array(); foreach ($dirs_to_search as $dir) { - foreach (array('widgets' => 'php', 'functions' => 'php', 'classes' => 'inc') as $folder => $extension) { + foreach (array('classes' => 'inc', 'widgets' => 'php', 'functions' => 'php') as $folder => $extension) { foreach (glob($dir . "/${folder}/*.${extension}") as $__file) { require_once($__file); $__class_name = preg_replace('#\..*$#', '', basename($__file));