From 236a1f6ed49a27db47937008dd123d64d8d9dcf5 Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@13793 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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.