diff --git a/includes/core/class-common.php b/includes/core/class-common.php index 21fe5efd..2f4024c2 100644 --- a/includes/core/class-common.php +++ b/includes/core/class-common.php @@ -34,14 +34,14 @@ if ( ! class_exists( 'Common' ) ) { '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' + 'edit_post' => 'manage_options', + 'read_post' => 'manage_options', + 'delete_post' => 'manage_options', + 'edit_posts' => 'manage_options', + 'edit_others_posts' => 'manage_options', + 'delete_posts' => 'manage_options', + 'publish_posts' => 'manage_options', + 'read_private_posts' => 'manage_options' ), 'show_ui' => true, 'show_in_menu' => false, @@ -63,14 +63,14 @@ if ( ! class_exists( 'Common' ) ) { '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' + 'edit_post' => 'manage_options', + 'read_post' => 'manage_options', + 'delete_post' => 'manage_options', + 'edit_posts' => 'manage_options', + 'edit_others_posts' => 'manage_options', + 'delete_posts' => 'manage_options', + 'publish_posts' => 'manage_options', + 'read_private_posts' => 'manage_options' ), 'show_ui' => true, 'show_in_menu' => false,