Skip to content

Commit

Permalink
WPOS: Pass $taxonomy to term_item_url filter
Browse files Browse the repository at this point in the history
  • Loading branch information
binhwpo committed Apr 21, 2015
1 parent 176125e commit b2f15b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion walkers/SubmenuWalker.php
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ public function _populate_tax_items($menu_item, $taxonomy, $replace_parent = fal
$t->title = apply_filters( 'jcs/term_item_title', $t->title, $t->ID );

$t->url = apply_filters( 'jcs/item_url', get_term_link( $t, $taxonomy ), $t->ID , 'term');
$t->url = apply_filters( 'jcs/term_item_url', $t->url, $t->ID );
$t->url = apply_filters( 'jcs/term_item_url', $t->url, $t->ID, $taxonomy );

$t->classes = array();

Expand Down

0 comments on commit b2f15b1

Please sign in to comment.