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