From 763b2c42b21a946ae24f90c7f5561e0bf9ecea24 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Tue, 10 Nov 2009 05:44:30 -0800 Subject: [PATCH] changed require_once to @include for the check_child_theme (fixes comments) fixed the navstyles to work in both IE and FF, i think .. /shrug changed divs to spans inside the graphical-navigation.php Signed-off-by: Philip M. Hofer (Frumph) --- functions.php | 4 ++-- functions/displayblogpost.php | 2 +- functions/displaycomicpost.php | 2 +- images/nav/default/navstyle.css | 31 ++++++++++++++----------------- images/nav/scifi/navstyle.css | 24 +++++++++--------------- images/nav/silver/navstyle.css | 31 ++++++++++--------------------- style.css | 1 + widgets/graphical-navigation.php | 6 +++--- 8 files changed, 41 insertions(+), 60 deletions(-) diff --git a/functions.php b/functions.php index 3893b71..f80d146 100644 --- a/functions.php +++ b/functions.php @@ -19,7 +19,7 @@ if (function_exists('id_get_comment_number')) { remove_filter('comments_number','id_get_comment_number'); } -$comicpress_version = '2.8.2.4'; +$comicpress_version = '2.8.2.5'; global $wpmu_version; if (!empty($wpmu_version)) { @@ -853,7 +853,7 @@ function comicpress_check_child_file($filename = '') { if (empty($filename)) return false; if (get_stylesheet_directory() != get_template_directory()) { if (file_exists(get_stylesheet_directory() .'/'. $filename . '.php')) { - @require_once(get_stylesheet_directory() .'/'. $filename . '.php'); + @include(get_stylesheet_directory() .'/'. $filename . '.php'); return true; } } diff --git a/functions/displayblogpost.php b/functions/displayblogpost.php index c44fb0d..876008a 100644 --- a/functions/displayblogpost.php +++ b/functions/displayblogpost.php @@ -54,7 +54,7 @@ function display_blog_post() { comment_status && !is_single()) { + if ('open' == $post->comment_status) { if (comicpress_check_child_file('partials/commentlink') == false) { ?> comment_status == 'open' && !is_single()) { + if ('open' == $post->comment_status) { if (comicpress_check_child_file('partials/commentlink') == false) { ?> " title=""> navi-void">">ID); ?>_group_navigation_buttons($buttons) as $group => $grouped_buttons) { - $output[] = '
' . implode('', array_values($grouped_buttons)) . '
'; + $output[] = '' . implode('', array_values($grouped_buttons)) . ''; } $buttons_text = implode('', $output);