Tag descriptions, props aaroncampbell, fixes #9381

git-svn-id: http://svn.automattic.com/wordpress/trunk@10903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2009-04-09 16:00:40 +00:00
parent 135af2d731
commit 9d35395cb5
5 changed files with 49 additions and 5 deletions

View File

@@ -1169,6 +1169,9 @@ case 'inline-save-tax':
else
$taxonomy = 'post_tag';
$tag = get_term( $id, $taxonomy );
$_POST['description'] = $tag->description;
$updated = wp_update_term($id, $taxonomy, $_POST);
if ( $updated && !is_wp_error($updated) ) {
$tag = get_term( $updated['term_id'], $taxonomy );