Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-08-29 14:56:30 -07:00
parent bd1fea1de6
commit d4c79f109b
1 changed files with 1 additions and 4 deletions

View File

@ -18,8 +18,7 @@ class widget_comicpress_comic_blog_post extends WP_Widget {
function widget($args, $instance) {
global $post, $wp_query;
extract($args, EXTR_SKIP);
if (have_posts()) : while (have_posts()) : the_post();
extract($args, EXTR_SKIP);
if (!empty($post->post_content)) {
echo $before_widget;
$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
@ -28,8 +27,6 @@ class widget_comicpress_comic_blog_post extends WP_Widget {
display_comic_post();
echo $after_widget;
}
endwhile;
endif;
}
function update($new_instance, $old_instance) {