From fdf5bef23a9d6c013a1c0ad76d9db6ccc81c69bb Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 3 Jun 2009 16:39:39 +0000 Subject: [PATCH] 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 --- wp-admin/admin-ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index 7cbb85dc01..1fd0df5342 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -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 %s added' ), "tag-$tag->term_id", $tag_full_name)) ) ); $x->send();