From 747fd91e0a509d4421a0ff9cba2f43e0bc9d42f5 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 22 Mar 2010 03:11:15 +0000 Subject: [PATCH] Fix typo in inline docs for register_post_type(). fixes #12664 props sillybean. git-svn-id: https://develop.svn.wordpress.org/trunk@13793 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 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.