diff --git a/comicpress-debug.php b/comicpress-debug.php index 575cd11..9f1d07c 100644 --- a/comicpress-debug.php +++ b/comicpress-debug.php @@ -1,7 +1,7 @@ ID); + if (count(array_intersect($comic_categories, wp_get_post_categories($post->ID))) > 0) { + $founderror = TRUE; + } + endwhile; + } +// if ($founderror) { + $error[] = array('header', __('A post is in both a comic category and blog category.','comicpress')); + $error[] = __('*duel category error message and fix*','comicpress'); +// } } if (!empty($error)) { @@ -37,6 +65,8 @@ function comicpress_notice_debug() { ComicPress doesn't seem to be fully installed at this time, check out these messages.

false, 'disable_comic_blog_frontpage' => false, @@ -177,7 +177,7 @@ function comicpress_load_options() { add_option('comicpress_options', $comicpress_options, '', 'yes'); // update_option('comicpress_options', $comicpress_options); } - $comicpress_options['comicpress_version'] = '2.9.0.5'; + $comicpress_options['comicpress_version'] = '2.9.0.6'; update_option('comicpress_options', $comicpress_options); return $comicpress_options; } @@ -816,6 +816,7 @@ function comicpress_check_child_file($filename = '') { return false; } +/* function rss_count_comments(){ global $wpdb,$post; $args = func_get_args(); @@ -828,6 +829,7 @@ function rss_count_comments(){ } add_action('the_title_rss','rss_count_comments'); +*/ function comicpress_gnav_display_css() { global $comicpress_options;