Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 10276)
+++ wp-includes/link-template.php	(working copy)
@@ -187,7 +187,7 @@
 
 	$slug = $post->post_name;
 
-	$draft_or_pending = isset($post->post_status) && in_array( $post->post_status, array( 'draft', 'pending', 'auto-draft' ) );
+	$draft_or_pending = get_post_status( $id ) && in_array( get_post_status( $id ), array( 'draft', 'pending', 'auto-draft' ) );
 
 	$post_type = get_post_type_object($post->post_type);
 
Index: wp-includes/post.php
===================================================================
--- wp-includes/post.php	(revision 10276)
+++ wp-includes/post.php	(working copy)
@@ -848,7 +848,7 @@
 			return get_post_status($post->post_parent);
 	}
 
-	return $post->post_status;
+	return apply_filters( 'get_post_status', $post->post_status, $post );
 }
 
 /**
