From fdf26ffabf88ed2c09d7ed1367880381b5e15788 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Thu, 17 Dec 2009 16:40:48 -0800 Subject: [PATCH 1/3] pushing 2.9.0.6, tagged, commented out the comments count for the rss feed until a check for exporting procedure found. Signed-off-by: Philip M. Hofer (Frumph) Signed-off-by: Philip M. Hofer (Frumph) --- functions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 0a02516..611824f 100644 --- a/functions.php +++ b/functions.php @@ -100,7 +100,7 @@ function comicpress_load_options() { global $comicpress_options; $comicpress_options = get_option('comicpress_options'); if (empty($comicpress_options)) { - $comicpress_options['comicpress_version'] = '2.9.0.5'; + $comicpress_options['comicpress_version'] = '2.9.0.6'; foreach (array( 'disable_comic_frontpage' => 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; From 38b36126ca73514b8869832541d02777ab6f6a8c Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Thu, 17 Dec 2009 18:13:48 -0800 Subject: [PATCH 2/3] comicpress-debug.php addition, check categories (needs fixed by john) Signed-off-by: Philip M. Hofer (Frumph) --- comicpress-debug.php | 48 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 39 insertions(+), 9 deletions(-) diff --git a/comicpress-debug.php b/comicpress-debug.php index 575cd11..d398516 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.

Date: Thu, 17 Dec 2009 18:15:58 -0800 Subject: [PATCH 3/3] exclude cats for the debug Signed-off-by: Philip M. Hofer (Frumph) --- comicpress-debug.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comicpress-debug.php b/comicpress-debug.php index d398516..9f1d07c 100644 --- a/comicpress-debug.php +++ b/comicpress-debug.php @@ -36,7 +36,7 @@ function comicpress_notice_debug() { if (empty($error)) { $founderror = FALSE; - $blog_query = '&show_posts=-1&posts_per_page=-1'; + $blog_query = '&show_posts=-1&posts_per_page=-1&cat="-'.exclude_comic_categories().'"'; $comic_categories = array(); $founderrorpost = array();