290a291,310
> 	$authors = '';
> 	if (!empty($r['authors'])) {
> 		$auths = preg_split('/[\s,]+/',$r['authors']);
> 		if (count($auths)) {
> 			foreach ($auths as $auth) {
> 				if (is_string($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) ";
> 		}
> 	}
> 
294c314
< 															"$exclusions " .
---
> 															"$exclusions $authors " .
315a336
> 	if ( !isset($r['authors']) ) $r['authors'] = '';
