[wp-trac] [WordPress Trac] #46431: wp_unique_term_slug() doesn't guarantee unique slugs for child terms

WordPress Trac noreply at wordpress.org
Sat Aug 24 19:14:54 UTC 2019


#46431: wp_unique_term_slug() doesn't guarantee unique slugs for child terms
--------------------------------------+---------------------
 Reporter:  saskak                    |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  5.3
Component:  Taxonomy                  |     Version:  4.3
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by dlh):

 [attachment:"46431.diff"] looks good to me, with a couple potential copy-
 edits:

 - Switch the test annotation from `@group` to `@ticket`.
 - Drop `be_` from the test name:
 `test_duplicate_parent_suffixed_slug_should_get_numeric_suffix`.

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


More information about the wp-trac mailing list