Fix typo. props rovo89, fixes #13494.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-25 18:59:20 +00:00
parent b04dfafeac
commit 479d1d3617
1 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,7 @@ function get_post_type_capabilities( $args ) {
'edit_posts' => 'edit_' . $args->capability_type . 's',
'edit_others_posts' => 'edit_others_' . $args->capability_type . 's',
'publish_posts' => 'publish_' . $args->capability_type . 's',
'read_post' => 'edit_' . $args->capability_type,
'read_post' => 'read_' . $args->capability_type,
'read_private_posts' => 'read_private_' . $args->capability_type . 's',
'delete_post' => 'delete_' . $args->capability_type,
);