diff --git a/wp-includes/post.php b/wp-includes/post.php index a8df5633ab..47db9a1d70 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -767,7 +767,7 @@ function get_post_types( $args = array(), $output = 'names' ) { * edit_cap - The capability that controls editing a particular object of this post type. Defaults to "edit_$capability_type" (edit_post). * edit_type_cap - The capability that controls editing objects of this post type as a class. Defaults to "edit_ . $capability_type . s" (edit_posts). * edit_others_cap - The capability that controls editing objects of this post type that are owned by other users. Defaults to "edit_others_ . $capability_type . s" (edit_others_posts). - * edit_others_cap - The capability that controls publishing objects of this post type. Defaults to "publish_ . $capability_type . s" (publish_posts). + * publish_others_cap - The capability that controls publishing objects of this post type. Defaults to "publish_ . $capability_type . s" (publish_posts). * read_cap - The capability that controls reading a particular object of this post type. Defaults to "read_$capability_type" (read_post). * delete_cap - The capability that controls deleting a particular object of this post type. Defaults to "delete_$capability_type" (delete_post). * hierarchical - Whether the post type is hierarchical. Defaults to false.