Pass taxonomy to_tag_row() when adding tags via ajax. Props dd32. fixes #10019

git-svn-id: http://svn.automattic.com/wordpress/trunk@11512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-06-03 16:39:39 +00:00
parent 06cdab52ac
commit fdf5bef23a
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ case 'add-tag' : // From Manage->Tags
'what' => 'tag',
'id' => $tag->term_id,
'position' => '-1',
'data' => _tag_row( $tag ),
'data' => _tag_row( $tag, '', $taxonomy ),
'supplemental' => array('name' => $tag_full_name, 'show-link' => sprintf(__( 'Tag <a href="#%s">%s</a> added' ), "tag-$tag->term_id", $tag_full_name))
) );
$x->send();