WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#13494 closed defect (bug) (fixed)

Wrong default capability for read_post in get_post_type_capabilities()

Reported by: rovo89 Owned by:
Priority: normal Milestone: 3.0
Component: Post Types Version: 3.0
Severity: normal Keywords: has-patch
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 3 years ago.

Download all attachments as: .zip

Change History (3)

rovo893 years ago

comment:1 nacin3 years ago

  • Milestone changed from Unassigned to 3.0

comment:2 nacin3 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.