Index: template-functions-post.php
===================================================================
--- template-functions-post.php	(revision 2983)
+++ template-functions-post.php	(working copy)
@@ -300,6 +300,26 @@
 	if ( !isset($r['sort_order']) )
 		$r['sort_order'] = 'ASC';
 
+	$authors = '';
+	if (!empty($r['authors'])) {
+		$auths = preg_split('/[\s,]+/',$r['authors']);
+		if (count($auths)) {
+			foreach ($auths as $auth) {
+	 			if ( (is_string($auth)) && (! is_int($auth)) ) { 
+		 			$author_ID = $wpdb->get_var("SELECT ID from $wpdb->users WHERE user_login = '$auth'");
+					if (! $author_ID) next;
+						$auth = $author_ID;
+	 			}
+	 			if ('' == $authors) {
+	 				$authors .= ' post_author = ' . intval($auth) . ' ';
+	 			} else {
+	 				$authors .= ' OR post_author = ' . intval($auth) . ' ';
+	 			}
+			}
+		 	$authors = " AND ($authors) ";
+		}
+	}
+
 	$exclusions = '';
 	if ( !empty($r['exclude']) ) {
 		$expages = preg_split('/[\s,]+/',$r['exclude']);
@@ -313,6 +333,7 @@
 	$pages = $wpdb->get_results("SELECT * " .
 		"FROM $wpdb->posts " .
 		"WHERE post_status = 'static' " .
+		"$authors " . 
 		"$exclusions " .
 		"ORDER BY " . $r['sort_column'] . " " . $r['sort_order']);
 
@@ -341,6 +362,8 @@
 		$r['title_li'] = __('Pages');
 	if ( !isset($r['echo']) )
 		$r['echo'] = 1;
+	if ( !isset($r['authors']) )
+		$r['authors'] = '';
 
 	$output = '';
 
