Index: wp-includes/theme.php
===================================================================
--- wp-includes/theme.php	(revision 27177)
+++ wp-includes/theme.php	(working copy)
@@ -1385,7 +1385,7 @@
 		case 'html5' :
 			// You can't just pass 'html5', you need to pass an array of types.
 			if ( empty( $args[0] ) ) {
-				$args = array( 0 => array( 'comment-list', 'comment-form', 'search-form' ) );
+				$args = array( 0 => array( 'comment-list', 'comment-form', 'search-form', 'gallery' ) );
 			} elseif ( ! is_array( $args[0] ) ) {
 				_doing_it_wrong( "add_theme_support( 'html5' )", 'You need to pass an array of types.', '3.6.1' );
 				return false;
