From 7cf294e0e12437113e3e2e4a1769aae4affcb05a Mon Sep 17 00:00:00 2001 From: ryan Date: Fri, 29 Jan 2010 18:26:33 +0000 Subject: [PATCH] Update phpdoc to note that the default for public is false. see #9674 git-svn-id: http://svn.automattic.com/wordpress/trunk@12898 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 2df6712ddc..b4599abdca 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -685,7 +685,7 @@ function get_post_types( $args = array(), $output = 'names' ) { * Optional $args contents: * * label - A descriptive name for the post type marked for translation. Defaults to $post_type. - * public - Whether posts of this type should be shown in the admin UI. Defaults to true. + * public - Whether posts of this type should be shown in the admin UI. Defaults to false. * exclude_from_search - Whether to exclude posts with this post type from search results. Defaults to true. * inherit_type - The post type from which to inherit the edit link and capability type. Defaults to none. * capability_type - The post type to use for checking read, edit, and delete capabilities. Defaults to "post".