mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user