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.