Make WordPress Core

Ticket #6313: wp-admin-includes-taxonomy.diff

File wp-admin-includes-taxonomy.diff, 468 bytes (added by mtekk, 17 years ago)

This patch fixes the issue where when you save twice you get double tags

  • taxonomy.php

     
    133133
    134134        foreach ( $tags as $tag )
    135135                $tag_names[] = $tag->name;
    136         $tags_to_edit = join( ', ', $tag_names );
     136        $tags_to_edit = join( ',', $tag_names );
    137137        $tags_to_edit = attribute_escape( $tags_to_edit );
    138138        $tags_to_edit = apply_filters( 'tags_to_edit', $tags_to_edit );
    139139        return $tags_to_edit;