Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#13494 closed defect (bug) (fixed)

Wrong default capability for read_post in get_post_type_capabilities()

Reported by: rovo89's profile rovo89 Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords: has-patch
Focuses: Cc:

Description

The function get_post_type_capabilities sets the capability for read_post to edit_my_post_type instead of read_my_post_type. This is fixed by this patch.

Attachments (1)

13494.diff (710 bytes) - added by rovo89 15 years ago.

Download all attachments as: .zip

Change History (3)

@rovo89
15 years ago

#1 @nacin
15 years ago

  • Milestone changed from Unassigned to 3.0

#2 @nacin
15 years ago

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

(In [14902]) Fix typo. props rovo89, fixes #13494.

Note: See TracTickets for help on using tickets.