[wp-trac] [WordPress Trac] #29255: wp_insert_term() calls term_exists() with 'slug' where 'slug' gets compared to term 'name'

WordPress Trac noreply at wordpress.org
Sat Nov 8 22:39:32 UTC 2014


#29255: wp_insert_term() calls term_exists() with 'slug' where 'slug' gets compared
to term 'name'
---------------------------------------------+-----------------------------
 Reporter:  Rob Walker                       |       Owner:
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  Awaiting
Component:  Taxonomy                         |  Review
 Severity:  normal                           |     Version:  3.9.2
 Keywords:  good-first-bug needs-unit-tests  |  Resolution:
                                             |     Focuses:
---------------------------------------------+-----------------------------

Comment (by MikeNGarrett):

 This seems to have been fixed in trunk by forcing wp_unique_term_slug to
 run. This is an issue for 3.9.2 and 4.0, but should be fixed in 4.1.

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


More information about the wp-trac mailing list