Skip to content

Commit

Permalink
Merge pull request #1 from binhwpo/wpos
Browse files Browse the repository at this point in the history
WPOS: Pass $taxonomy to term_item_url filter
  • Loading branch information
jcollings committed Apr 22, 2015
2 parents 176125e + b2f15b1 commit 34d26b7
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 34d26b7

Please sign in to comment.