Skip to content

Commit 51f63cd

Browse files
committed
Update class-breadcrumbs.php
1 parent 1c3f4ba commit 51f63cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

includes/frontend/class-breadcrumbs.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ private static function get_hierarchical_term_trail_array( \WP_Term $taxonomy, $
193193
'separator' => '»',
194194
);
195195

196-
$args = wp_parse_args( $args, $defaults );
196+
$args = wp_parse_args( $args, $defaults );
197+
$trail = array();
197198

198199
$output = '<li class="wzkb_breadcrumb-item" data-separator="' . esc_attr( $args['separator'] ) . '" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">';
199200
$output .= '<a href="' . esc_url( get_term_link( $taxonomy ) ) . '" itemprop="item" title="' . esc_attr( $taxonomy->name ) . '">';

0 commit comments

Comments
 (0)