WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#15259 closed defect (bug) (fixed)

post-new.php missing permissions feedback for non-post post types

Reported by: duck_ Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: has-patch
Focuses: Cc:

Description

Visit post-new.php?post_type=page as a contributor (or another post type for which the user doesn't have the edit capability). You will see the output of admin-footer.php with no styling.

Patch attached just shows the "Cheatin' uh?" message like edit.php does. Though maybe the old extra text, which only shows for Posts, about asking the admin for permission is still wanted.

Attachments (1)

15259.diff (1.3 KB) - added by duck_ 10 years ago.

Download all attachments as: .zip

Change History (2)

@duck_
10 years ago

#1 @ryan
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16135]) Die if user doesn't have caps for the post type. Props duck_. fixes #15259

Note: See TracTickets for help on using tickets.