From f25dd822ec6c757b1140bd9cd63ec67e7e32d895 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 9 Aug 2008 17:13:40 +0000 Subject: [PATCH] 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: https://develop.svn.wordpress.org/trunk@8603 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/taxonomy.php b/wp-admin/includes/taxonomy.php index f3c5fcf934..a0b95a7af6 100644 --- a/wp-admin/includes/taxonomy.php +++ b/wp-admin/includes/taxonomy.php @@ -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;