mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Correct logic inversion. #19275.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0c224cd82c
commit
774e51c04c
@ -29,12 +29,12 @@ function create_initial_taxonomies() {
|
||||
'category' => array(
|
||||
'hierarchical' => true,
|
||||
'slug' => get_option('category_base') ? get_option('category_base') : 'category',
|
||||
'with_front' => get_option('category_base') || $wp_rewrite->using_index_permalinks(),
|
||||
'with_front' => ! get_option('category_base') || $wp_rewrite->using_index_permalinks(),
|
||||
'ep_mask' => EP_CATEGORIES,
|
||||
),
|
||||
'post_tag' => array(
|
||||
'slug' => get_option('tag_base') ? get_option('tag_base') : 'tag',
|
||||
'with_front' => get_option('tag_base') || $wp_rewrite->using_index_permalinks(),
|
||||
'with_front' => ! get_option('tag_base') || $wp_rewrite->using_index_permalinks(),
|
||||
'ep_mask' => EP_TAGS,
|
||||
),
|
||||
'post_format' => $post_format_base ? array( 'slug' => $post_format_base ) : false,
|
||||
|
Loading…
Reference in New Issue
Block a user