From 36a8a1a2b6a45a8dcbbe34fa44ef688ff0ef871f Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Sat, 23 Jan 2010 04:04:51 -0800 Subject: [PATCH] ComicBlogPostWidget.inc now defaults the title the posts title which is css'd. Signed-off-by: Philip M. Hofer (Frumph) --- widgets/ComicBlogPostWidget.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/ComicBlogPostWidget.inc b/widgets/ComicBlogPostWidget.inc index a79e3ce..4f74698 100644 --- a/widgets/ComicBlogPostWidget.inc +++ b/widgets/ComicBlogPostWidget.inc @@ -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 "
".$title."
\r\n"; } the_content(); $wp_query->is_single = $temp_query;