From c34a4d6f509c612f6c926be8d916266059afafeb Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Fri, 25 Dec 2009 12:43:32 -0800 Subject: [PATCH] *shakes fist at $post* I'll control you someday ! Signed-off-by: Philip M. Hofer (Frumph) --- classes/ComicPressMediaHandling.inc | 2 +- functions/displaypost.php | 1 + layout-head.php | 6 +++--- sidebar-left.php | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/classes/ComicPressMediaHandling.inc b/classes/ComicPressMediaHandling.inc index e5fbb41..9f24ab1 100644 --- a/classes/ComicPressMediaHandling.inc +++ b/classes/ComicPressMediaHandling.inc @@ -83,7 +83,7 @@ class ComicPressMediaHandling { // @codeCoverageIgnoreStart function _abspath() { - return trailingslashit($this->_resolve_regex_path(realpath(ABSPATH))); + return trailingslashit($this->_resolve_regex_path(ABSPATH)); } // @codeCoverageIgnoreEnd diff --git a/functions/displaypost.php b/functions/displaypost.php index 99eafc6..3afca8b 100644 --- a/functions/displaypost.php +++ b/functions/displaypost.php @@ -105,6 +105,7 @@ function comicpress_display_comic_navigation() { if (!$comicpress_options['disable_default_comic_nav']) { $first_comic = get_first_comic_permalink(); $last_comic = get_last_comic_permalink(); + $wp_query->is_single = true; if (!is_search() && !is_archive() && !is_page() && in_comic_category()) { ?>