Skip to content

Commit

Permalink
GD > Post Features shows error when tag does not exists - FIXED
Browse files Browse the repository at this point in the history
  • Loading branch information
kprajapatii committed Sep 3, 2024
1 parent 0c9afd6 commit b94305d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/widgets/class-geodir-widget-post-features.php
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ public function output( $args = array(), $widget_args = array(), $content = '' )
// If we can cut the size before links then better.
if ( empty( $tag_include ) && ! empty( $args['tag_count'] ) && count( $tag_include ) > $args['tag_count'] ) {
$tag_include = array_slice( $tag_include, 0, absint( $args['tag_count'] ) );
}$tags[] = 'ffff';
}

if ( ! empty( $tags ) ) {
$tag_icon = ! empty( $args['tag_icon'] ) ? esc_attr( $args['tag_icon'] ) : 'far fa-check-circle';
Expand Down

0 comments on commit b94305d

Please sign in to comment.