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

Add taxonomy to term data list #481

Merged
merged 1 commit into from
Feb 18, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/class-wp-json-taxonomies.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,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