Changeset 56194 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 07/10/2023 11:09:16 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r55921 r56194 3251 3251 $duplicate = get_term_by( 'slug', $slug, $taxonomy ); 3252 3252 if ( $duplicate && $duplicate->term_id !== $term_id ) { 3253 // If an empty slug was passed or the parent changed, reset the slug to something unique. 3254 // Otherwise, bail. 3253 /* 3254 * If an empty slug was passed or the parent changed, reset the slug to something unique. 3255 * Otherwise, bail. 3256 */ 3255 3257 if ( $empty_slug || ( $parent !== (int) $term['parent'] ) ) { 3256 3258 $slug = wp_unique_term_slug( $slug, (object) $args );
Note: See TracChangeset
for help on using the changeset viewer.