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
This commit is contained in:
parent
243106b21e
commit
236a1f6ed4
|
@ -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_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_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 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).
|
* 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).
|
* 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.
|
* hierarchical - Whether the post type is hierarchical. Defaults to false.
|
||||||
|
|
Loading…
Reference in New Issue