Index: wp-includes/link-template.php
===================================================================
--- wp-includes/link-template.php	(revision 12241)
+++ wp-includes/link-template.php	(working copy)
@@ -222,7 +222,7 @@
 
 	$pagestruct = $wp_rewrite->get_page_permastruct();
 
-	if ( '' != $pagestruct && ( ( isset($post->post_status) && 'draft' != $post->post_status ) || $sample ) ) {
+	if ( '' != $pagestruct && ( ( isset($post->post_status) && 'draft' != $post->post_status && 'pending' != $post->post_status ) || $sample ) ) {
 		$link = get_page_uri($id);
 		$link = ( $leavename ) ? $pagestruct : str_replace('%pagename%', $link, $pagestruct);
 		$link = trailingslashit(get_option('home')) . "$link";
