[wp-trac] [WordPress Trac] #57062: show_in_menu causes error on adding post of CPT
WordPress Trac
noreply at wordpress.org
Thu Nov 10 14:58:11 UTC 2022
#57062: show_in_menu causes error on adding post of CPT
-------------------------------+-----------------------------
Reporter: mahype | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 6.1
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
I have created a Custom Post Type and given a user the appropriate rights
to manage this Custom Post Type. In addition, the user has only the same
rights as a subscriber. This works so far. I can edit, save and create new
posts.
But when I integrate the Post Type into another menu via show_in_menu, I
can edit and save the Custom Post Type, but as soon as I want to create a
new post, I get the error message "Sorry, you are not allowed to access
this page.".
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57062>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list