Permalink
Browse files

make URL 'with-front' consistent for taxonomies and opst types

  • Loading branch information...
1 parent 4df1685 commit 0e1617538b5c6ac155c7b5db3197e2721ec29b08 @alexkingorg alexkingorg committed Oct 4, 2012
Showing with 8 additions and 4 deletions.
  1. +8 −4 classes/aktt.php
View
@@ -213,7 +213,8 @@ static function register_taxonomies() {
'singular_name' => __('Account', 'twitter-tools')
),
'rewrite' => array(
- 'slug' => 'tweet-accounts'
+ 'slug' => 'tweet-accounts',
+ 'with_front' => false
),
)),
'aktt_mentions' => array_merge($defaults, array(
@@ -222,7 +223,8 @@ static function register_taxonomies() {
'singular_name' => __('Mention', 'twitter-tools')
),
'rewrite' => array(
- 'slug' => 'tweet-mentions'
+ 'slug' => 'tweet-mentions',
+ 'with_front' => false
),
)),
'aktt_hashtags' => array_merge($defaults, array(
@@ -231,7 +233,8 @@ static function register_taxonomies() {
'singular_name' => __('Hashtag', 'twitter-tools')
),
'rewrite' => array(
- 'slug' => 'tweet-hashtags'
+ 'slug' => 'tweet-hashtags',
+ 'with_front' => false
),
)),
'aktt_types' => array_merge($defaults, array(
@@ -240,7 +243,8 @@ static function register_taxonomies() {
'singular_name' => __('Type', 'twitter-tools')
),
'rewrite' => array(
- 'slug' => 'tweet-types'
+ 'slug' => 'tweet-types',
+ 'with_front' => false
),
'public' => false,
'show_ui' => false,

0 comments on commit 0e16175

Please sign in to comment.