From 0a413d456d1422643ddb169c37ce353190e1737d Mon Sep 17 00:00:00 2001 From: cheh Date: Thu, 3 Nov 2016 13:41:01 +0200 Subject: [PATCH] UPD: additional to the prev commit --- inc/class-trending-posts-widget.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/inc/class-trending-posts-widget.php b/inc/class-trending-posts-widget.php index b496a0c..7c01284 100644 --- a/inc/class-trending-posts-widget.php +++ b/inc/class-trending-posts-widget.php @@ -304,11 +304,10 @@ public function widget( $args, $instance ) { ); $image_args = apply_filters( 'cherry_trend_posts_image_args', array( - 'visible' => has_post_thumbnail(), - 'size' => 'medium', - 'mobile_size' => 'thumbnail', - 'html' => '
%4$s
', - 'class' => 'cherry-trend-post__thumbnail-link', + 'size' => 'medium', + 'mobile_size' => 'thumbnail', + 'html' => '
%4$s
', + 'class' => 'cherry-trend-post__thumbnail-link', ), $args, $instance ); $excerpt_args = array(