Index: wp-includes/post-template.php
===================================================================
--- wp-includes/post-template.php	(revision 6574)
+++ wp-includes/post-template.php	(working copy)
@@ -56,7 +56,7 @@
 	$title = $post->post_title;
 	if ( !empty($post->post_password) )
 		$title = sprintf(__('Protected: %s'), $title);
-	else if ( 'private' == $post->post_status )
+	else if ( isset($post->post_status) && 'private' == $post->post_status )
 		$title = sprintf(__('Private: %s'), $title);
 
 	return apply_filters( 'the_title', $title );
@@ -443,6 +443,8 @@
 			$post->iconsize = array($imagesize[0], $imagesize[1]);
 			$constraint = '';
 		}
+	} else {
+		$constraint = '';
 	}
 
 	$post_title = attribute_escape($post->post_title);
Index: wp-includes/bookmark.php
===================================================================
--- wp-includes/bookmark.php	(revision 6574)
+++ wp-includes/bookmark.php	(working copy)
@@ -184,9 +184,7 @@
 		$recently_updated_test = '';
 	}
 
-	if ($show_updated) {
-		$get_updated = ", UNIX_TIMESTAMP(link_updated) AS link_updated_f ";
-	}
+	$get_updated = ( $show_updated ) ? ", UNIX_TIMESTAMP(link_updated) AS link_updated_f " : '';
 
 	$orderby = strtolower($orderby);
 	$length = '';
Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 6574)
+++ wp-includes/link-template.php	(working copy)
@@ -142,7 +142,7 @@
 
 	$pagestruct = $wp_rewrite->get_page_permastruct();
 
-	if ( '' != $pagestruct && 'draft' != $post->post_status ) {
+	if ( '' != $pagestruct && ( empty($post->post_status) || 'draft' != $post->post_status ) ) {
 		$link = get_page_uri($id);
 		$link = str_replace('%pagename%', $link, $pagestruct);
 		$link = get_option('home') . "/$link";
@@ -597,7 +597,7 @@
 	$request = remove_query_arg( 'paged' );
 
 	$home_root = parse_url(get_option('home'));
-	$home_root = $home_root['path'];
+	$home_root = ( isset($home_root['path']) ) ? $home_root['path'] : null;
 	$home_root = preg_quote( trailingslashit( $home_root ), '|' );
 
 	$request = preg_replace('|^'. $home_root . '|', '', $request);

