Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Publicious.org
Plugins
Media Categories
Commits
78c7f058
Commit
78c7f058
authored
Sep 06, 2016
by
John James Jacoby
Browse files
Explicit `rewrite` rules for taxonomy.
parent
a9ff794a
Changes
1
Hide whitespace changes
Inline
Side-by-side
wp-media-categories/includes/taxonomies.php
View file @
78c7f058
...
...
@@ -36,6 +36,11 @@ function wp_media_categories_register_media_taxonomy() {
'parent_item'
=>
__
(
'Parent Category'
,
'wp-media-categories'
),
'parent_item_colon'
=>
__
(
'Parent Category:'
,
'wp-media-categories'
),
'search_items'
=>
__
(
'Search Categories'
,
'wp-media-categories'
)
),
'rewrite'
=>
array
(
'with_front'
=>
false
,
'heirarchical'
=>
true
,
'slug'
=>
'media-category'
)
)
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment