mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Tag descriptions, props aaroncampbell, fixes #9381
git-svn-id: https://develop.svn.wordpress.org/trunk@10903 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user