Make WordPress Core

Opened 14 years ago

Closed 14 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:


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 14 years ago.

Download all attachments as: .zip

Change History (3)

14 years ago

#1 @nacin
14 years ago

  • Milestone changed from Unassigned to 3.0

#2 @nacin
14 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.