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

WordPress Trac noreply at wordpress.org
Fri Dec 19 17:03:12 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 boonebgorges):

 Thanks, ipm-frommen. I've confirmed this behavior, though it's only
 reproducible in a very specific set of circumstances. I'm going to do a
 bit more digging and open a separate ticket for the problem, as it's
 strictly speaking a regression. Your suggested fix makes sense in a way,
 but I think we'll need to go with something more conservative (ie local to
 `wp_update_term()`) in the short term. When I've got that ticket number,
 I'll post it here.

 In the meantime we can continue to use this ticket to discuss support for
 duplicate slugs when using `wp_update_term()`.

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


More information about the wp-trac mailing list