WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 15 months ago

#44524 new defect (bug)

Allow Users to View Custom Post Type Admin Page

Reported by: wpsmith Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch dev-feedback needs-testing
Focuses: administration Cc:
PR Number:

Description

Creating a custom post type and giving it custom capabilities, a user who can edit_posts but cannot create_posts cannot access the admin page: /wp-admin/edit.php?post_type=cpt.

Attachments (2)

44524.diff (2.4 KB) - added by wpsmith 16 months ago.
cpt.php (5.8 KB) - added by wpsmith 16 months ago.
Example CPT plugin to demonstrate error

Download all attachments as: .zip

Change History (4)

@wpsmith
16 months ago

@wpsmith
16 months ago

Example CPT plugin to demonstrate error

#1 @wpsmith
16 months ago

  • Keywords has-patch dev-feedback needs-testing added

#2 @johnbillion
15 months ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.