Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Commit

Permalink
Merge pull request #481 from kalenjohnson/master
Browse files Browse the repository at this point in the history
Add taxonomy to term data list
  • Loading branch information
rachelbaker committed Feb 18, 2015
2 parents ad9688f + f3338c4 commit 61495b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/class-wp-json-taxonomies.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ protected function prepare_taxonomy_term( $term, $context = 'view' ) {
'name' => $term->name,
'slug' => $term->slug,
'description' => $term->description,
'taxonomy' => $term->taxonomy,
'parent' => (int) $term->parent,
'count' => (int) $term->count,
'link' => get_term_link( $term, $term->taxonomy ),
Expand Down

0 comments on commit 61495b2

Please sign in to comment.