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);