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:
parent
b04dfafeac
commit
479d1d3617
|
@ -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,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue