Ticket #17069: 17069.3.patch
File 17069.3.patch, 665 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/category-template.php
1283 1283 $name = ( 'slug' === $args['format'] ) ? $parent->slug : $parent->name; 1284 1284 1285 1285 if ( $args['link'] ) { 1286 $list .= '<a href="' . esc_url( get_ category_link( $parent->term_id) ) . '">' . $name . '</a>' . $args['separator'];1286 $list .= '<a href="' . esc_url( get_term_link( $parent->term_id, $taxonomy ) ) . '">' . $name . '</a>' . $args['separator']; 1287 1287 } else { 1288 1288 $list .= $name . $args['separator']; 1289 1289 }