[wp-trac] [WordPress Trac] #31665: Duplicate slugs in DB, created for hierarchical terms with long, non-latin names, when the default slug already exists

WordPress Trac noreply at wordpress.org
Wed Mar 18 15:16:39 UTC 2015


#31665: Duplicate slugs in DB, created for hierarchical terms with long, non-latin
names, when the default slug already exists
------------------------------------------+-----------------------------
 Reporter:  nevma                         |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Taxonomy                      |     Version:  4.1.1
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 boonebgorges]:
 > Any objection if I move the logic to a general mb-safe slug truncation
 function, and convert `_truncate_post_slug()` to a wrapper?

 None :)

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


More information about the wp-trac mailing list