ComicBlogPostWidget.inc now defaults the title the posts title which is css'd.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2010-01-23 04:04:51 -08:00
parent 8f254211e5
commit 36a8a1a2b6
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class ComicPressComicBlogPostWidget extends WP_Widget {
echo $before_widget;
$temp_query = $wp_query->is_single;
$wp_query->is_single = true;
$title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']);
$title = empty($instance['title']) ? the_title() : apply_filters('widget_title', $instance['title']);
if ( !empty( $title ) ) { echo "<div class=\"comic-post-header\">".$title."</div>\r\n"; }
the_content();
$wp_query->is_single = $temp_query;