Fix tag duplication when saving posts with multiple tags that have custom slugs. Props mtekk and count_0. fixes #6593 see #6313
git-svn-id: http://svn.automattic.com/wordpress/trunk@8603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4ba102a9f4
commit
2a22782bb0
|
@ -133,7 +133,7 @@ function get_tags_to_edit( $post_id ) {
|
|||
|
||||
foreach ( $tags as $tag )
|
||||
$tag_names[] = $tag->name;
|
||||
$tags_to_edit = join( ', ', $tag_names );
|
||||
$tags_to_edit = join( ',', $tag_names );
|
||||
$tags_to_edit = attribute_escape( $tags_to_edit );
|
||||
$tags_to_edit = apply_filters( 'tags_to_edit', $tags_to_edit );
|
||||
return $tags_to_edit;
|
||||
|
|
Loading…
Reference in New Issue