Index: wp-includes/query.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- wp-includes/query.php	(revision 5cd5252964c99595dd76adc271b31ce744a74dac)
+++ wp-includes/query.php	(revision )
@@ -140,9 +140,10 @@
  *
  * @global WP_Query $wp_query Global WP_Query instance.
  *
+ * @param string|array $post_types Optional. Post type or array of posts types to check against.
  * @return bool
  */
-function is_archive() {
+function is_archive( $post_types = '' ) {
 	global $wp_query;
 
 	if ( ! isset( $wp_query ) ) {
@@ -150,7 +151,7 @@
 		return false;
 	}
 
-	return $wp_query->is_archive();
+	return $wp_query->is_archive( $post_types );
 }
 
 /**
@@ -4078,9 +4079,15 @@
 	 *
  	 * @since 3.1.0
  	 *
+	 * @param string|array $post_types Optional. Post type or array of posts types to check against.
+	 *
  	 * @return bool
  	 */
-	public function is_archive() {
+	public function is_archive( $post_types = '' ) {
+		if ( ! empty( $post_types )) {
+			return $this->is_post_type_archive( $post_types );
+		}
+
 		return (bool) $this->is_archive;
 	}
 
