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:
parent
7efaa581d3
commit
ad59625e7f
|
@ -908,7 +908,7 @@ function get_post_type_capabilities( $args ) {
|
||||||
'edit_posts' => 'edit_' . $args->capability_type . 's',
|
'edit_posts' => 'edit_' . $args->capability_type . 's',
|
||||||
'edit_others_posts' => 'edit_others_' . $args->capability_type . 's',
|
'edit_others_posts' => 'edit_others_' . $args->capability_type . 's',
|
||||||
'publish_posts' => 'publish_' . $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',
|
'read_private_posts' => 'read_private_' . $args->capability_type . 's',
|
||||||
'delete_post' => 'delete_' . $args->capability_type,
|
'delete_post' => 'delete_' . $args->capability_type,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue