Ticket #23668: emptytax.diff
File emptytax.diff, 570 bytes (added by , 12 years ago) |
---|
-
wp-includes/taxonomy.php
343 343 } 344 344 345 345 if ( false !== $args['rewrite'] && ( is_admin() || '' != get_option('permalink_structure') ) ) { 346 if ( empty( $args['rewrite']['slug'] ) ) 347 $args['rewrite']['slug'] = $taxonomy; 346 348 $args['rewrite'] = wp_parse_args($args['rewrite'], array( 347 349 'slug' => sanitize_title_with_dashes($taxonomy), 348 350 'with_front' => true,