[wp-trac] Re: [WordPress Trac] #8567: Unique tag JS checking
routine not adding new tags
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 11 02:03:03 GMT 2008
#8567: Unique tag JS checking routine not adding new tags
--------------------------------------------------+-------------------------
Reporter: janbrasna | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.8
Component: Administration | Version: 2.7
Severity: normal | Resolution:
Keywords: admin javascript jquery tag multiple |
--------------------------------------------------+-------------------------
Comment (by janbrasna):
Entering the string as "tag3, tag1, tag2" however adds the tags, even the
duplicate ones.
I believe it's the {{{tag_flush_to_text(e,a)}}} function in
http://trac.wordpress.org/browser/trunk/wp-admin/js/post.js?rev=10150#L45
where only the first tag from the {{{#newtag}}} is matched against the set
from {{{#tags-input}}}.
--
Ticket URL: <http://trac.wordpress.org/ticket/8567#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list