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

WordPress Trac noreply at wordpress.org
Mon Dec 22 09:53:02 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.1.1
Component:  Taxonomy               |     Version:  4.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+--------------------

Comment (by dubh):

 Replying to [comment:14 boonebgorges]:
 > See [attachment:30780.3.patch] for my suggested fix for 4.1.1, with unit
 tests demonstrating the problem. dubh, ipm-frommen - feedback would be
 welcome on whether this sounds sane, and whether this simple fix resolves
 your issues.

 Your patch appears to work for my purposes. I can fully edit terms, in
 different taxonomies belonging to different post types, that have the same
 slugs without having to rename those slugs.

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


More information about the wp-trac mailing list