Skip to content

Commit

Permalink
816 - Allow users with the right privileges to add a new tapestry
Browse files Browse the repository at this point in the history
Closes #816
  • Loading branch information
wynnset committed Oct 21, 2020
1 parent 69703f5 commit e950ae6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tapestry.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ function create_tapestry_type()
'show_in_nav_menus' => true,
'exclude_from_search' => false,
'capability_type' => 'post',
'capabilities' => [
'create_posts' => 'administrator',
],
'map_meta_cap' => true,
'hierarchical' => false,
'rewrite' => ['with_front' => true],
Expand Down

0 comments on commit e950ae6

Please sign in to comment.