[wp-trac] [WordPress Trac] #37009: When two different tags generate the same slug, the second tag is rejected

WordPress Trac noreply at wordpress.org
Wed May 22 17:27:27 UTC 2019


#37009: When two different tags generate the same slug, the second tag is rejected
-------------------------------------+------------------------------
 Reporter:  michael.costanza         |       Owner:  boonebgorges
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Taxonomy                 |     Version:  4.5.2
 Severity:  normal                   |  Resolution:
 Keywords:  4.7-early bulk-reopened  |     Focuses:
-------------------------------------+------------------------------
Changes (by rogercoathup):

 * keywords:  4.7-early, bulk-reopened => 4.7-early bulk-reopened


Comment:

 We are experiencing a problem with this that's straightforward to
 reproduce --

 We have unique terms such as **1:23** and **12:3**; if added from a post
 page, both get sanitised in term_exists() to same **123** and only one
 term is saved.

 [Note: if we add the terms from the standalone terms page (rather than on
 the post page), the term isn't passed through term_exists() and we can
 create both without problem]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37009#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list