[wp-trac] [WordPress Trac] #30780: Inconsistent behavior/results of wp_insert_term and wp_update_term

WordPress Trac noreply at wordpress.org
Sun Dec 21 03:43:43 UTC 2014


#30780: Inconsistent behavior/results of wp_insert_term and wp_update_term
-------------------------+------------------
 Reporter:  ipm-frommen  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.2
Component:  Taxonomy     |     Version:  4.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------

Comment (by dubh):

 Related issue?

 Conditions:
 - A post type named Articles with an Authors taxonomy
 - A post type named Events with a Speakers taxonomy

 Steps:
 1. Add a term to Authors with the name "John Smith" with the slug "john-
 smith".
 2. Add a term to Speakers with the name "John Smith" with the slug "john-
 smith".

 Results:
 1. Two terms now have the same slug. As of v4.1, this is the expected
 behavior.
 2. However, the name and description of the term "John Smith" in the
 Speakers taxonomy cannot be edited.
 3. Only the slug can be edited. When the slug is renamed, the name and
 description can be edited again.

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


More information about the wp-trac mailing list