Permalink
Browse files

Fix phpdoc for register_post_status(), props aaroncampbell, fixes #17900

git-svn-id: http://svn.automattic.com/wordpress/trunk@18352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 01ba545 commit f2abed5956c353328de71a6c7332377527639f5e azaozz committed Jun 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-includes/post.php
View
2 wp-includes/post.php
@@ -634,7 +634,7 @@ function get_page_statuses( ) {
*
* label - A descriptive name for the post status marked for translation. Defaults to $post_status.
* public - Whether posts of this status should be shown in the front end of the site. Defaults to true.
- * exclude_from_search - Whether to exclude posts with this post status from search results. Defaults to true.
+ * exclude_from_search - Whether to exclude posts with this post status from search results. Defaults to false.
* show_in_admin_all_list - Whether to include posts in the edit listing for their post type
* show_in_admin_status_list - Show in the list of statuses with post counts at the top of the edit
* listings, e.g. All (12) | Published (9) | My Custom Status (2) ...

0 comments on commit f2abed5

Please sign in to comment.