Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#57062 closed defect (bug) (duplicate)

show_in_menu causes error on adding post of CPT

Reported by: mahype Owned by:
Priority: normal Milestone:
Component: Posts, Post Types Version:
Severity: normal Keywords:
Cc: Focuses:

Description

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.".

Change History (5)

#1 @johnbillion
4 years ago

  • Version 6.1

#2 @manfcarlo
4 years ago

  • Resolutionduplicate
  • Status newclosed

Duplicate of #22895.

#3 @manfcarlo
4 years ago

  • Resolution duplicate
  • Status closedreopened

Sorry, upon reading closer, I think this is a duplicate of a different ticket.

#4 @manfcarlo
4 years ago

  • Resolutionduplicate
  • Status reopenedclosed

Duplicate of #16808.

#5 @desrosj
3 years ago

  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.