Ticket #16662: 16662.2.diff
| File 16662.2.diff, 905 bytes (added by , 15 years ago) |
|---|
-
wp-includes/taxonomy.php
22 22 'rewrite' => did_action( 'init' ) ? array( 23 23 'hierarchical' => true, 24 24 'slug' => get_option('category_base') ? get_option('category_base') : 'category', 25 'with_front' => false) : false,25 'with_front' => ( get_option('category_base') ) ? false : true ) : false, 26 26 'public' => true, 27 27 'show_ui' => true, 28 28 '_builtin' => true, … … 34 34 'query_var' => 'tag', 35 35 'rewrite' => did_action( 'init' ) ? array( 36 36 'slug' => get_option('tag_base') ? get_option('tag_base') : 'tag', 37 'with_front' => false) : false,37 'with_front' => ( get_option( 'tag_base' ) ) ? false : true ) : false, 38 38 'public' => true, 39 39 'show_ui' => true, 40 40 '_builtin' => true,