[wp-trac] [WordPress Trac] #12729: Fix [6326] - wp_unique_term_slug() when changing the parent
WordPress Trac
noreply at wordpress.org
Fri Aug 23 19:46:01 UTC 2013
#12729: Fix [6326] - wp_unique_term_slug() when changing the parent
------------------------------+-------------------
Reporter: nacin | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+-------------------
Comment (by ryan):
That unit tests passes with the patch and fails without. This code is not
really exercised since wp_insert_post() and wp_update_post() never call
wp_unique_term_slug() in this situation. You pretty much have to call
wp_unique_term_slug() directly (like the unit tests do) to trigger this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12729#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list