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:
parent
5babfc0115
commit
aff87ccafe
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue