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

git-svn-id: https://develop.svn.wordpress.org/trunk@11512 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-06-03 16:39:39 +00:00
parent 5babfc0115
commit aff87ccafe
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();