From 858e02d0d4f9d9bb8aa86bc52e2878efa54b5c97 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@12898 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 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".