diff --git wp-includes/post.php wp-includes/post.php
index c4ce1af..592da02 100644
--- wp-includes/post.php
+++ wp-includes/post.php
@@ -626,7 +626,7 @@ function get_page_statuses( ) {
 }
 
 /**
- * Register a post type. Do not use before init.
+ * Register a post status. Do not use before init.
  *
  * A simple function for creating or modifying a post status based on the
  * parameters given. The function will accept an array (second optional
@@ -659,9 +659,23 @@ function register_post_status($post_status, $args = array()) {
 		$wp_post_statuses = array();
 
 	// Args prefixed with an underscore are reserved for internal use.
-	$defaults = array('label' => false, 'label_count' => false, 'exclude_from_search' => null, '_builtin' => false, '_edit_link' => 'post.php?post=%d', 'capability_type' => 'post', 'hierarchical' => false, 'public' => null, 'internal' => null, 'protected' => null, 'private' => null, 'show_in_admin_all' => null, 'publicly_queryable' => null, 'show_in_admin_status_list' => null, 'show_in_admin_all_list' => null, 'single_view_cap' => null);
-	$args = wp_parse_args($args, $defaults);
-	$args = (object) $args;
+	$defaults = array(
+		'label' => false,
+		'label_count' => false,
+		'exclude_from_search' => null,
+		'_builtin' => false,
+		'public' => null,
+		'internal' => null,
+		'protected' => null,
+		'private' => null,
+		'show_in_admin_all' => null,
+		'publicly_queryable' => null,
+		'show_in_admin_status_list' => null,
+		'show_in_admin_all_list' => null,
+		'single_view_cap' => null
+	);
+
+	$args = (object) wp_parse_args($args, $defaults);
 
 	$post_status = sanitize_key($post_status);
 	$args->name = $post_status;
@@ -669,16 +683,16 @@ function register_post_status($post_status, $args = array()) {
 	if ( null === $args->public && null === $args->internal && null === $args->protected && null === $args->private )
 		$args->internal = true;
 
-	if ( null === $args->public  )
+	if ( null === $args->public )
 		$args->public = false;
 
-	if ( null === $args->private  )
+	if ( null === $args->private )
 		$args->private = false;
 
-	if ( null === $args->protected  )
+	if ( null === $args->protected )
 		$args->protected = false;
 
-	if ( null === $args->internal  )
+	if ( null === $args->internal )
 		$args->internal = false;
 
 	if ( null === $args->publicly_queryable )
@@ -1040,7 +1054,7 @@ function register_post_type($post_type, $args = array()) {
 	}
 
 	do_action( 'registered_post_type', $post_type, $args );
-	
+
 	return $args;
 }
 
@@ -5308,7 +5322,7 @@ add_filter( 'wp_get_object_terms', '_post_format_wp_get_object_terms' );
 
 /**
  * Update the custom taxonomies' term counts when a post's status is changed. For example, default posts term counts (for custom taxonomies) don't include private / draft posts.
- * 
+ *
  * @access private
  * @param string $new_status
  * @param string $old_status
