From 3be56dac2c51e91f415ab6fc97d890b344de70f9 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Tue, 1 Dec 2009 14:37:31 -0800 Subject: [PATCH] get_stylesheet_directory changed to get_template_directory in the get_comic_path function Signed-off-by: Philip M. Hofer (Frumph) --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index b63a322..6f0f669 100644 --- a/functions.php +++ b/functions.php @@ -453,7 +453,7 @@ function get_comic_path($folder = 'comic', $override_post = null, $filter = 'def $filter_with_date = str_replace('{date}', $post_date, $filter_to_use); - $cwd = get_stylesheet_directory(); + $cwd = get_template_directory(); if ($cwd !== false) { // Strip the wp-admin part and just get to the root. $root_path = preg_replace('#[\\/]wp-(admin|content).*#', '', $cwd);