Ticket #27678: taxonomy.diff
File taxonomy.diff, 517 bytes (added by , 11 years ago) |
---|
-
taxonomy.php
2391 2391 2392 2392 $slug_provided = ! empty( $slug ); 2393 2393 if ( ! $slug_provided ) { 2394 $slug = sanitize_title($name);2394 $slug = apply_filters( 'pre_insert_term', sanitize_title($name)); 2395 2395 } 2396 2396 2397 2397 $term_group = 0; … … 3931 3931 wp_update_term( $loop_member, $taxonomy, array( 'parent' => 0 ) ); 3932 3932 3933 3933 return $parent; 3934 } 3935 No newline at end of file 3934 }