- fixed vulnerabilities;

- small changes and fixes;
This commit is contained in:
nikitozzzzzzz
2017-08-07 16:30:12 +03:00
parent 2b21ebbc7c
commit c4b6484438
18 changed files with 59 additions and 26 deletions
+20
View File
@@ -33,6 +33,16 @@ if ( ! class_exists( 'Common' ) ) {
'not_found_in_trash' => __('Nothing found in Trash'),
'search_items' => __('Search Forms')
),
'capabilities' => array(
'edit_post' => 'update_core',
'read_post' => 'update_core',
'delete_post' => 'update_core',
'edit_posts' => 'update_core',
'edit_others_posts' => 'update_core',
'delete_posts' => 'update_core',
'publish_posts' => 'update_core',
'read_private_posts' => 'update_core'
),
'show_ui' => true,
'show_in_menu' => false,
'public' => false,
@@ -52,6 +62,16 @@ if ( ! class_exists( 'Common' ) ) {
'not_found_in_trash' => __('Nothing found in Trash'),
'search_items' => __('Search Member Directories')
),
'capabilities' => array(
'edit_post' => 'update_core',
'read_post' => 'update_core',
'delete_post' => 'update_core',
'edit_posts' => 'update_core',
'edit_others_posts' => 'update_core',
'delete_posts' => 'update_core',
'publish_posts' => 'update_core',
'read_private_posts' => 'update_core'
),
'show_ui' => true,
'show_in_menu' => false,
'public' => false,