Fix typo. props rovo89, fixes #13494.

git-svn-id: https://develop.svn.wordpress.org/trunk@14902 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-25 18:59:20 +00:00
parent 7efaa581d3
commit ad59625e7f
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,
);