Index: wp-includes/general-template.php
===================================================================
--- wp-includes/general-template.php	(revision 21527)
+++ wp-includes/general-template.php	(working copy)
@@ -867,6 +867,7 @@
 
 	$defaults = array(
 		'type' => 'monthly', 'limit' => '',
+		'posttype' => 'post',
 		'format' => 'html', 'before' => '',
 		'after' => '', 'show_post_count' => false,
 		'echo' => 1
@@ -903,7 +904,7 @@
 	}
 
 	//filters
-	$where = apply_filters( 'getarchives_where', "WHERE post_type = 'post' AND post_status = 'publish'", $r );
+	$where = apply_filters( 'getarchives_where', "WHERE post_type = '$posttype' AND post_status = 'publish'", $r );
 	$join = apply_filters( 'getarchives_join', '', $r );
 
 	$output = '';
