From ad59625e7fb901a4d8d69cdf2970d36532e551f9 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 25 May 2010 18:59:20 +0000 Subject: [PATCH] Fix typo. props rovo89, fixes #13494. git-svn-id: https://develop.svn.wordpress.org/trunk@14902 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 10e79ea79b..12c33cf935 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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, );