From 95b6501de4bfddf5455ef01fe3a3bc792edf1e5a Mon Sep 17 00:00:00 2001 From: Ben Word Date: Fri, 14 Oct 2011 14:40:53 -0600 Subject: [PATCH] adding the_post_thumbnail output to roots_remove_self_closing_tags --- inc/roots-cleanup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/roots-cleanup.php b/inc/roots-cleanup.php index 7751d99..6154f1e 100644 --- a/inc/roots-cleanup.php +++ b/inc/roots-cleanup.php @@ -393,6 +393,7 @@ function roots_remove_self_closing_tags($input) { add_filter('get_avatar', 'roots_remove_self_closing_tags'); add_filter('comment_id_fields', 'roots_remove_self_closing_tags'); +add_filter('post_thumbnail_html', 'roots_remove_self_closing_tags'); // check to see if the tagline is set to default // show an admin notice to update if it hasn't been changed @@ -464,4 +465,4 @@ function roots_body_class() { return; } -?> +?> \ No newline at end of file